Gradle build failing after update to Android studio 2.3 Canary 3

后端 未结 9 1947
北海茫月
北海茫月 2021-01-03 20:19

I\'ve recently updated the android studio version of my project from 2.3 Canary 2 to 2.3 Canary 3. Since then the gradle build is failing every time with this error:

9条回答
  •  执念已碎
    2021-01-03 20:59

    If you're using the gradle wrapper, make sure that the distributionUrl in your gradle/wrapper/gradle-wrapper.properties is correct and up to date. As of this writing, I use this:

     distributionBase=GRADLE_USER_HOME
     distributionPath=wrapper/dists
     zipStoreBase=GRADLE_USER_HOME
     zipStorePath=wrapper/dists
     distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
    

提交回复
热议问题