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/