-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got an error when i'm trying to run... :( 12 times i uninstalled and install app. But same issues. Got same issue in Android studio and Visual code studio. #59152
Comments
Hi @mdmahinurkhan |
Hi @VladyslavBondarenko Thanks for your reply. I'm from Bangladesh, So china community will help? Maybe not. However when i was trying to run, then opened a window to allow access of firewall, i allowed. So now will i try by using a VPN or will i try by turning off my internet in pc? Please let me know your suggestion. |
@mdmahinurkhan |
using vpn but facing the same issue. |
Did you get a solution? I tried VPN also, but not working :( Let me know if you get solution in either way |
Hey, I got solutions by downloading 28 versions of sdk and android phone. API version 28 and Android pie. |
I have the same issue and its been 2 days. Please help me |
Sure, you'll select 28 API mobile virtual emulator and SDK. and SDK tool 28.0.3 and remove all update SDK versions, like 30 API levels. |
I did all this but still getting this error |
The error log is like PS D:\Documents\LearnFlutter\awsome_app> flutter run FAILURE: Build failed with an exception.
BUILD FAILED in 8s |
Please help me !! I dont want to waste my third day too |
Can you reinstall by following my step, i hope it'll work for you! |
Problem solved. Deleted gradle cache and ran flutter precache |
Ahh great! Now enjoy!! |
Here is my solution(refer to #56685) android/build_compat.gradle String storageUrl = 'https://storage.flutter-io.cn' //System.getenv('FLUTTER_STORAGE_BASE_URL') ?: "https://storage.googleapis.com"
project.subprojects { p ->
p.repositories {
maven {
url "$storageUrl/download.flutter.io"
}
}
} android/build.gradle apply from: 'build_compat.gradle' |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The text was updated successfully, but these errors were encountered: