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

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

    I got the same issue after updating android studio to 3.4

    I resolve this updatig gradle-wrapper.properties

    I had

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

    I leave

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

    and with this To solve the Gradle sync error.

提交回复
热议问题