码迷,mamicode.com
首页 > 其他好文 > 详细

Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10.

时间:2016-03-30 08:18:59      阅读:1493      评论:0      收藏:0      [点我收藏+]

标签:

 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.

标签:

原文地址:http://www.cnblogs.com/yshyee/p/5335642.html

(1)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!