【发布时间】:2013-11-12 06:07:17
【问题描述】:
我有一个带有 Google Play services rev 的干净的 Android 项目。 13通过SDK管理器安装,关注these instructions。
我的build.gradle文件如下:
dependencies {
compile 'com.google.android.gms:play-services:4.0.30'
}
但是,当我尝试构建这个应用程序时,我得到了
Gradle: A problem occurred configuring project ':Maple'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':Maple:_DebugCompile'.
> Could not find com.google.android.gms:play-services:4.0.30.
Required by:
MapleProject:Maple:unspecified
【问题讨论】:
-
从 cmd 输入“gradle clean cleaneclipse eclipse”
-
您需要从 SDK 管理器的 extras 部分安装 google 存储库,才能让播放服务与 gradle 一起使用。
标签: android gradle android-studio