Flutter: wasm streaming compile failed: TypeError: Could not download wasm module - flutter

I'm building a Flutter web app. Everything was working fine until randomly I did a hot restart and then I began getting this error.
wasm streaming compile failed: TypeError: Could not download wasm module
Tried 2 things
Reverted the code back to a known working state (from git source control) and I still get this error.
Created NEW Flutter project from Android studio using New Flutter project options. Still did not work.
Any ideas? I tried to update Chrome and this did not help.

I lived in a remote area where no broadband is available so I use wireless network through sim card. The operator network is disturbing ,I can browse website sometimes and some times bit laggy on the other hand my flutter project work on emulator but I can not run it web. I changed the operator network and get a good quality of internet connection than The issue gone. What I think some module in web need to build good internet connection. I don't know this answer is helpful or not but this is how I solve my issue

It needs a stable internet connection to run. The error gone once I switched to good internet.

Related

Not supported on web devices - Flutter

I have problems with this error, it generates that sometimes the website does not load locally in mode debug.
Error image
Error image
any solution? Thanks.
I have tried different browsers to rule out a version problem.
The new version of flutter has just been released, but I guess it has nothing to do with it. It may be a bug with some library that the web version does not support.

sdkmanager error (Warning: IO exception while downloading manifest)

when I try installing build tools using sdkmanager on window using this command below
C:\all-things-flutter\flutter-installation\android\cmdline-tools\bin>sdkmanager.bat "build-tools;30.0.0" --sdk_root=../
I keep getting this error
Warning: IO exception while downloading manifest
please this is not a duplicate question, cus I didn't find the answer I needed.
this has been bugging me for days so how can I get it right
So since I could not get an answer after 8 months, I have decided to share how I did it and other kinds of solutions people have suggested but not from here.
How i did it
I downloaded android studio (even tho i was not going to use it), then i use android studio to download the recommended SDK i will need, after that i added the SDK folder path to my system variable, that way i can continue the flutter installation and run flutter doctor, which did ditect my SDK path.
Other people Suggesttion
From my research online, I saw people saying that you need a much slower internet connection because if your internet connection is faster, it will skip some downloads, which can cause the SDK to not work well.
but my response to that is "yer good luck with that".

Can't use cloud debugging to test my apk for Huawei

I'm trying to test an apk with cloud debugging and I'm getting the following error when I tried to upload an apk:
I also added HMS plugin to my Android Studio but devices are not displayed in the device list when I opened one and it doesn't end or give any feedback(other than files are being pushed) when I drag an apk onto device.
Devices that I tried:
Update:
The apk you uploaded does not have an icon. Plz check and add an icon for it and try again. This message will be modified later to make it clearer. :)
It is a network error. Make sure that no proxy is used and your network is working. Then plz try to retransmit the apk.
Yeah I have encountered the same issue in the past and that could be frustrating. One thing you have to know though, for Cloud debugging, the backend servers are on maintenance from time to time. Please try to upload your APK again and see if your issue gets resolved by itself. If not, please let me know, I will see if more trouble shooting can be done.

Why does my app flutter can't download the dependencies?

I can't debug my application.
First, the error happened when downloading the gradle, I managed to solve it, downloading manual and pointing to local file, but after that started to happen the error in other dependencies,
It's like I'm using proxy, but I'm not using proxy.
I've tried changing the version of gradle and all the other tips I've seen on the internet but nothing works.
I'm using the latest version of android studio on a macbook
the error message always relates to UnknownHostException.

"Error DEP6957 Failed to connect to device using Universal Authentication" when deploying Unity app to Hololens emulator

I've been working in a Unity app with Hololens emulator in Visual Studio 2017 in Windows Pro, and it was working great until last night where I started to get the following issue every time that I try to deploy my application into the Hololens emulator:
Error DEP6957 : Failed to connect to device '[device_ip]' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings.
I've tried to do the following things without success:
Clean/rebuild solution
Checked 'uninstall/install' checkbox in the UWP project settings
Deleted Hololens virtual machine
Uncheck/check Hyper-v feature (and restart PC after each try)
Restarted computer
No luck. Sometimes, I am able to make it work, but after 30 seconds to 1 minute, the hololens emulator gets frozen and then it closes itself; again, this was working fine until last night, and I have not installed anything different, unless an automatic windows update did something. This happens with all the applications, and they run just fine in the Unity player.
I would appreciate your help on this, I just don't think the only solution is to uninstall/install Visual studio and all its components, it makes no sense, since everything was ok.
Thank you.
UPDATE
I've just noticed that if I connect the laptop to the internet by using an ethernet cable, it works, it only fails in WIFI, have you seen that before? I also have another UWP that I deploy remotely to a raspberry and it also works only with ethernet, but both of them were used to work in wifi? any idea?