android - 在 Google API 模拟器 2.0 中更新 Google Play 服务

标签 android android-studio android-emulator google-play-services

我正在使用最新的android studio V2.0。当我使用带有Google API_23的模拟器时。 enter image description here

在模拟器中运行我的 SocialLoginDemo 应用程序时,它会提示更新 Google play 服务。其中我将登录与 Google 帐户功能集成在一起。

enter image description here

当我点击更新按钮时,Google play服务没有更新。 我已经在模拟器中配置了我的 Gmail 帐户。 我需要更新什么?

最佳答案

我之前也遇到过同样的问题。我通过更改 build.gradle 文件中的一行来修复此问题

来自:

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

至:

compile 'com.google.android.gms:play-services:7.+'

关于android - 在 Google API 模拟器 2.0 中更新 Google Play 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34308745/

相关文章:

android - 我需要一个单独的 AndroidWear 应用程序吗

java - Android 中的嵌套 WebView

Ubuntu 14.04 上的 Android Studio 非常慢

java - 有没有办法在 TextView 中自动选择文本?

java - gradle同步时sun.security.validator.ValidatorException

android - 使用模拟器从 Android 使用 WS

android - 应用程序的图标在 Phonegap Build 的页面中不可见

java - Android afterTextChanged不会在每4个字符后输入一个空格

android - 安装错误 : INSTALL_PARSE_FAILED_MANIFEST_MALFORMED code included

Android studio - 模拟器堆叠在屏幕外