简体   繁体   中英

How can i fix this flutter error in android studio?

when i run my flutter app in Android Studio i have this problem, so i need your help please that it .jpg

that url https://downloads.gradle-dn.com/distributions/gradle-3.5.0-all.zip will be there in gradle-wrapper.properties file.

so you can go to android/gradle/wrapper directory and find that file.

update distribution url to https://services.gradle.org/distributions/gradle-6.5-all.zip and it should work.

3.5 is very old. not sure why you want to use it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM