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

后端 未结 8 2158
轻奢々
轻奢々 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:58

    check your .bash_profile file and make sure your GRADLE_HOME points to a valid path, if things were working and you face this issue after android studio update, chances are your gradle got updated too. Here is the example of my gradle home in .bash_profile: export GRADLE_HOME=/Applications/Android\ Studio.app/Contents/gradle/gradle-2.14.1/bin

提交回复
热议问题