android - PLUS 无法在 Google Play 服务中定义

标签 android google-plus google-play-services

以下错误显示我也编译库文件但错误显示我使用编译'com.google.android.gms:play-services-auth:8.3.0'

enter image description here

帮助我,我是 android 新手

最佳答案

在你的build.gradle中你应该添加

compile 'com.google.android.gms:play-services-plus:8.3.0'

然后你应该运行一个 Gradle 构建,然后你就可以将 Plus 导入你的类中

关于android - PLUS 无法在 Google Play 服务中定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34001388/

相关文章:

ios - google plus 在 cordova-phonegap 上的共享

android - 如果同时使用 iOS,Google Play Services 8.4.0 会破坏适用于 Android 的 Google Cloud Messaging

android - LocationSettings 请求对话框再次出现

Android、Facebook SDK 和单点登录 : Either my App fails with "invalid_key" or Facebook App fails

java - Jsoup 获取 Android 应用程序上的所有 html 数据,但无法获取 Java 控制台应用程序上的所有 html 数据

android - logcat 中的 GC_FOR_ALLOC 过多

android - 我的 Google+1 按钮显示为灰色且无法使用?

android - 是什么导致了输出 "Check failed: threadId != 0u"的崩溃?

share - Google Plus 分享未从头部选取元标签

android - 当手机进入待机状态(屏幕关闭状态)时, Activity 识别停止接收更新