Android Studio - Gradle sync error on gradle-diagnostics-X.X.X.jar

后端 未结 8 2308
轻奢々
轻奢々 2021-01-31 13:28

I\'ve just updated Android Studio and I can\'t sync my project anymore.

The event log reports:

Gradle sync failed: /Applications/Android Studio.app/Conte         


        
8条回答
  •  眼角桃花
    2021-01-31 13:51

    This is the weirdest thing ever and I never expected it to work but this:

    distributionUrl=https://services.gradle.org/distributions/gradle-2.2.1-all.zip

    worked and got everything fixed (it was the '\' after https). It does make sense since that is an actual link to a file.

提交回复
热议问题