首页 > 代码库 > Gradle sync failed: /Applications/Android Studio.app/Contents/gradle/gradle-2.14.1/lib/plugins/gradle-diagnostics-2.14.1.jar (No such file or directory) Consult IDE log for more details (Help | Sh
Gradle sync failed: /Applications/Android Studio.app/Contents/gradle/gradle-2.14.1/lib/plugins/gradle-diagnostics-2.14.1.jar (No such file or directory) Consult IDE log for more details (Help | Sh
上面出现的错误是,我从Android Studio 2.2 升级到2.3后,出现的问题,
找到方法:
http://stackoverflow.com/questions/30526613/android-studio-gradle-sync-error-on-gradle-diagnostics-x-x-x-jar
看来每个Android Studio的版本都要一个最低版本的Gradle,
- 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版本了
Gradle sync failed: /Applications/Android Studio.app/Contents/gradle/gradle-2.14.1/lib/plugins/gradle-diagnostics-2.14.1.jar (No such file or directory) Consult IDE log for more details (Help | Sh
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。