Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

学向勤中得,萤窗万卷书。这篇文章主要讲述Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))相关的知识,希望能为你提供帮助。

Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片
 
当androidStudio加载工程Project的时候,出现以上错误?,千万不要点击
Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片
,否则就是更多其他的错误;
 
解决方案:
1.认真翻译错误:
Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片

 
2.分析问题发生的原因,然后看到了 .....Gradle plugin 2.1.3 (or newer)...... 
Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片

 
3.在最外层的build.gradle 查看/修改代码:
Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片
  --->  
Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片

修改成 2.1.3, 然后点击Sync Now ,问题解决了:
Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片

 
 
成功解决:可以安装了:
Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))

文章图片

【Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or))】 

    推荐阅读