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.android

If using the gradle wrapper, try editing the distributionUrl in xxxx/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zipapp

(1) 修改gradle-wrapper.propertiesgradle

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

(2)修改build.gradleui

classpath 'com.android.tools.build:gradle:1.5.0'
相關文章
相關標籤/搜索