Gradle version 2.2 is required. Current version is 2.14.1.

gradle版本错误:

1. 修改gradle\wrapper\gradle-wrapper.properties文件:

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

 2. 修改整个工作空间(workspace)下的build.gradle文件:

// classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.android.tools.build:gradle:2.2.0'

 

----------详情请看:http://blog.csdn.net/lamelias/article/details/45057269

posted @ 2016-10-20 14:47  初心。。。  阅读(2125)  评论(0编辑  收藏  举报