Google Play 服务需要在 android studio 模拟器中更新

Google Play Services need to update in android studio emulator

Google Play 服务需要在 android studio 模拟器中更新。但是,如果我按更新,则什么也不会发生。我正在使用 api 23.1.1。我需要使用 op play services 来使用 Google Cloud Messaging。您需要如何更新?

运行 SDK Manager.exe 您将弹出 Android SDK 管理器。在底部,您会发现 Select New 或 Updates。然后你可以select更新后的google播放服务并安装包。

我之前通过更改 build.gradle 文件中的一行解决了这个问题

来自:

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

至:

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