Failed to apply plugin [id '''com.android.application''']
> Minimum supported Gradle version is 2.14.1. Current version is 2.13. If using the gradle wrapper, try editing the distributionUrl in /Users/xxxxx/Documents/GitWorkspaces/xxxxx-app/cordova/gradle/wrapper/gradle-wrapper.properties to gradle-2.14.1-all.zip
使用
export CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL="https\://services.gradle.org/distributions/gradle-2.14.1-all.zip"
解决Gradle版本问题
本文介绍了如何解决Android项目中Gradle版本过低导致的问题。通过更新Gradle版本到2.14.1,并修改gradle-wrapper.properties文件中的distributionUrl设置,可以成功应用com.android.application插件。
1657

被折叠的 条评论
为什么被折叠?



