2017-02-21 85 views
1

我已经下载了一个示例项目。它需要10.2.0 Play服务,所以我无法将build.gradle中的编译版本更改为较低版本。错误:请在Android模拟器中更新您的Google Play服务(版本应为10.2.0)

我都跟着其他SO问题:

Android Studio with Google Play Services How to update Google Play Services for Android Studio 2.2 emulators? updating Google play services in Emulator

我还下载了最新的谷歌游戏服务,安装必要的软件开发工具包,干净的构建工程,同步摇篮,使用API​​ 24和我的模拟器的API25。

它没有效果,我的Play服务仍在使用10.0.8。以下是我的Android Studio设置的屏幕截图。

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

回答

0

删除模拟器,并在SDK管理器,还删除其该模拟器建SDK平台。

然后,重新下载该SDK平台并重新构建您的模拟器。

为什么?

如果您下载了SDK平台并构建了该模拟器后,Google Play服务已经有更新,则旧版Google Play服务可能仍在该SDK平台的构建中。

相关问题