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

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

    I got the same issue after updating my android studio to 1.5

    Here is my error stack trace.

    Error:A problem occurred configuring root project 'Kargo'.

    java.io.FileNotFoundException: /home/adiyatmubarak/Documents/android-studio/gradle/gradle-2.4/lib/plugins/gradle-diagnostics-2.4.jar (No such file or directory)

    After I checked to the android studio instalation directory within gradle, my gradle was gradle-2.8 I don't know how to setup my android studio path location, but for temporary fix I just rename it to gradle-2.4 and my problem solved.

提交回复
热议问题