Gradle sync failed: /Applications/Android Studio.app/Contents/gradle/gradle-2.14.1/lib/plugins/gradl

上面出現的錯誤是,我從Android Studio 2.2 升級到2.3後,出現的問題,android

找到方法: android-studio

http://stackoverflow.com/questions/30526613/android-studio-gradle-sync-error-on-gradle-diagnostics-x-x-x-jargradle

看來每一個Android Studio的版本都要一個最低版本的Gradle,code

 

    • Android Studio 2.2 distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
    • Android Studio 2.1 distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
    • Android Studio 2.0 distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
    • Android Studio 1.5 distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
    • Android Studio 1.3 distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip

Android Studio 2.3 對應的Gradle就是 3.2版本了ip

相關文章
相關標籤/搜索