Flutter:Google Play服务已过时

编程入门 行业动态 更新时间:2024-10-23 06:30:56
本文介绍了Flutter:Google Play服务已过时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

W/GooglePlayServicesUtil(8660):Google Play服务已过期.需要13400000但找到了13280022

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

我正在尝试在Nexus S和Pixel Phone模拟器上都通过google_maps_plugin存储库运行示例应用程序,而两者均在Android Pie上运行.

I'm trying to run example app from google_maps_plugin repo on Nexus S and Pixel Phone emulators which both run on Android Pie.

有些问题,而不是颤抖的一面.我未能应用他们的解决方案.

There are questions, not on the flutter side specifically. I've failed to apply their solutions.

我到目前为止所做的事情

1)我的模拟器中没有此选项 stackoverflow/a/45312782/9779791

1) I don't have this option in my emulator stackoverflow/a/45312782/9779791

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

2) this one is on the flutter tag but solution was a dependency fix stackoverflow/a/53982212/9779791

3)我不清楚我如何在gradle Google Play服务已过时.需要10298000但找到10084470

3) Not clear to me how to downgrade google play services in gradle Google Play services out of date. Requires 10298000 but found 10084470

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

4) tried to download play services from this link with emulator, but since I don't have playstore app, I can't associate my account with it, play.google/store/apps/details?id=com.google.android.gms

此Google帐户尚未与设备关联.在安装应用程序之前,请先在设备上访问Play商店应用程序.

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的模拟器.

To run applications that require Play Services, you need to have an emulator with Google Play on board.

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

When creating a new emulator (Tools -> AVD Manager -> Create new virtual device... in Android Studio), there are only a few that support Google Play. The AVD Manager indicates which devices qualify for Android versions with Play Store preinstalled (highlighted in yellow):

选择支持Play商店的设备后,系统映像将定位到 Google Play 版本:

After selecting a device that supports the Play Store, the system images will target a Google Play version:

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

Now, your emulator will provide all required features.

更多推荐

Flutter:Google Play服务已过时

本文发布于:2023-11-14 10:12:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1586936.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Flutter   Google   Play

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!