gpt4 book ai didi

android - 错误:请在Android模拟器中更新您的Google Play服务(版本应为10.2.0)

转载 作者:行者123 更新时间:2023-12-01 15:30:40 25 4
gpt4 key购买 nike

我已经下载了一个示例项目。它需要10.2.0 Play服务,因此无法将build.gradle中的编译版本更改为较低版本。

我遵循了其他的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

我还下载了最新的Google Play服务,安装了必要的SDK,清理了构建项目,同步了Gradle,为我的模拟器使用了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

最佳答案

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

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

为什么?

如果自从您下载了上述SDK平台并构建了该模拟器以来,Google Play服务已进行了更新,则旧版Google Play服务可能仍在该SDK平台的构建中。

关于android - 错误:请在Android模拟器中更新您的Google Play服务(版本应为10.2.0),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42377117/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com