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

Gradle project sync failed.

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

标签:android   blog   http   os   io   strong   ar   for   sp   

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.

标签:android   blog   http   os   io   strong   ar   for   sp   

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

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