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'

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM