首页 > 其他 > 详细

Gradle project sync failed.

时间:2014-09-03 16:22:26      阅读:378      评论:0      收藏:0      [点我收藏+]

Go to File > Settings > Gradle you will end up with this screen for setting up your gradle :bubuko.com,布布扣

Also make sure you have Google Repository in your Android SDK directory which will be located at :

$SDK_DIR\extras\google\m2repository\com\google\android\gms\play-services\3.1.36

If not do install it from SDK Manager > Extras > Google Repository first.

EDIT :

All your build.gradle(If you are using root level build.gradle to define android gradle plugin version, check in that only) must point to 0.8 version(latest as of now) of android gradle plugin

dependencies { classpath ‘com.android.tools.build:gradle:0.8.+‘ }

UPDATED :

Mapping is :

| Android Gradle Plugin | Gradle Version | 0.7.+ 1.9 0.8.+ 1.10

Gradle project sync failed.

原文:http://www.cnblogs.com/nova-/p/3953717.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!