【发布时间】:2013-06-13 21:02:10
【问题描述】:
通过 gradle 引用 play-services 停止为我工作 - 归结为 - 甚至我最初用作参考的示例也停止工作: https://plus.google.com/+AndroidDevelopers/posts/4Yhpn6p9icf
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':auth'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':auth:compile'.
> Could not find com.google.android.gms:play-services:3.1.36.
Required by:
gpsdemos:auth:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.577 secs
我担心只是版本增加了,但这会引发 2 个问题: #1) 什么是新的? #2) 为什么旧版本不见了?
【问题讨论】:
-
您可以在此处查看 Play Services 的可用版本:C:\Users\USERNAME\AppData\Local\Android\android-studio\sdk\extras\google\m2repository\com\google\android\ gms\play-services
-
在 SDK 管理器中安装 Google 存储库。
标签: android gradle google-play-services