我有以下问题:
我在 Android Studio 中将 Google Play Services
库 v27.0.0
安装到我的 SDK
。
之后,我将编译依赖项添加到 build.gradle
(app 文件夹):
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.google.android.gms:play-services:27.0.0'
}
但是当我尝试将项目与 Gradle 同步时,我收到此错误消息:
Error:(25, 13) Failed to resolve: com.google.android.gms:play-services:27.0.0
我不知道该怎么办...
最佳答案
我不认为版本 27.0.0 存在,最新版本是 8.1.0
关于android - 将 Google Play 服务添加到 gradle (Android Studio) 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33025804/