Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10.
Posted YSHY
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10.相关的知识,希望对你有一定的参考价值。
Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10.
If using the gradle wrapper, try editing the distributionUrl in xxxx/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zip
(1) 修改gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
(2)修改build.gradle
classpath ‘com.android.tools.build:gradle:1.5.0‘
以上是关于Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10.的主要内容,如果未能解决你的问题,请参考以下文章
解决Gradle sync failed: Gradle Sync Issues问题(Android开发)
Gradle sync failed: Gradle sync failed: Timeout waiting to lock cp_init remapped class cache for a2h
Gradle Sync Failed:Setup Project Failed:Null