android - 颤振 : Google Play services out of date

标签 android android-emulator google-play-services

W/GooglePlayServicesUtil( 8660): Google Play services out of date. Requires 13400000 but found 13280022

我正在尝试在 Nexus S 和 Pixel Phone 模拟器上运行来自 google_maps_plugin 存储库的示例应用程序,它们都在 Android Pie 上运行。

有一些问题,不是专门针对 flutter 方面的问题。我未能应用他们的解决方案。

到目前为止我做了什么

1) 我的模拟器中没有这个选项 https://stackoverflow.com/a/45312782/9779791

2) 这个在 flutter 标签上,但解决方案是依赖修复 https://stackoverflow.com/a/53982212/9779791

3) 我不清楚如何在 gradle 中降级 google play 服务 Google Play services out of date. Requires 10298000 but found 10084470

4) 尝试通过此链接使用模拟器下载播放服务,但由于我没有播放商店应用程序,因此无法将我的帐户与其相关联, https://play.google.com/store/apps/details?id=com.google.android.gms

This Google account is not yet associated with a device. Please access the Play Store app on your device before installing apps.

最佳答案

要运行需要 Play 服务的应用程序,您需要有一个内置 Google Play 的模拟器。

当创建一个新的模拟器时(Tools -> AVD Manager -> Create new virtual device... in Android Studio),只有少数支持 Google Play。 AVD 管理器指示哪些设备符合预安装 Play Store 的 Android 版本(以黄色突出显示):

选择支持 Play 商店的设备后,系统图像将针对 Google Play 版本:

现在,您的模拟器将提供所有必需的功能。

关于android - 颤振 : Google Play services out of date,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55004678/

相关文章:

android - 将 SDK 更新到 Kitkat 4.4.2 后无法创建文件夹 'res/transition'

java - Android 垃圾收集器

android - 如何在android studio中刷新 Assets 文件列表

android - Android 模拟器性能与真实设备性能相比如何?

windows - Android 模拟器不刷新其显示

Android 模拟器 - 无法加载驱动程序

android - 如果您受邀分享 Google Play Android 开发者控制台,那么如何将应用程序添加到向您发送邀请的管理员控制台。?

android - 发布 Alpha 新 Android 游戏时如何将 "Link App"转换为现有客户端 ID 和生产 SHA1

android - Tycho 找不到 Android 开发工具包

ios - GooglePlus登录失败:该操作无法完成。 (com.google.HTTPStatus错误400。)