![](/img/trans.png)
[英]java.io.FileNotFoundException along with Gradle error while downloading artifacts
[英]gradle error while downloading artifacts flutter app
有没有人可以帮我解决这个错误,
错误:
Gradle threw an error while downloading artifacts from the network. Retrying to download...
我已将我的 gradle 版本更新为 6.1.1
我的gradle.wrapper.propreties:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
我的build.gradle(依赖项):
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
尝试删除.gradle
C:Users/{username}/.gradle
。 然后打开您的 IDE (Android Studio),设置“启用 HTTPS”并重建您的应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.