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

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.

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.

Upon upgrading Android Studio, a particular project of mines cant seem to run. I get an error saying this The project is not a graddle based project

Additionally, In the event log, I also get errors which say "could not read ok from ADB server", "failed to start daemon", "error cant connect to daemon","C:\Users\pilla\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary".
The project is a flutter based project and used to run before I updated Android studio. I tried uninstalling Android studio, deleting all related files, and performing a fresh install as well as looking at similar project sync related issues but nothing seems to work. Does anyone have any idea how I can get this project up and running again?

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

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.

Where are the Intel XDK build logs?

When I build XDK for iOS, I get the message 'An error occurred while building the application. Verify your build assets are correct and try again':
I have searched online and checked the build assets, but can't find anything wrong, so I am stuck.
Is there any way that I can see the log for the build to tell what went wrong? I can't seem to find a link to the logs anywhere, either in the XDK application or the online AppCenter.
OK, I received a reply on the Intel forum to use the Cordova iOS build where there is a link to the build logs.
I was swapping between Cordova and legacy ad-hoc to try to get things working and maybe I got mixed up somewhere along the way. Anyway, I changed two things and it is building OK now with Cordova iOS: -
I found an android setting in the iOS config file that I removed.
I changed the app name, because I read that if it started with the project name that could cause issues.

Invalid or corrupt jarfile android.jar issue

I am trying to build and run an android project using the phonegap framework.
I have configured the IDE and followed the steps described in an official tutorial (see link above).
The problem is that I never had a chance to build the project since it contains errors. The major one is (see screenshots):
Archive for required library: 'C:/Program Files/Android/android-sdk/platforms/android-8/android.jar' in project 'xxx' cannot be read or is not a valid ZIP file
Also, I have tried to manually run the aforementioned android.jar but got the same error:
The problem keeps reproducing through several SDK versions: r14, r15.
BTW, I experience no troubles building a project using other android versions, e.g., 2.3.
Would someone help me out? Thanks!
Use the Android package manager to remove and then re-download the Android 2.2 SDK as something is corrupt with that package.