您好,我正在尝试运行我创建的 Android 程序,该程序可以使用电子邮件和密码通过身份验证连接到 Firebase,但由于他们说我的 Google Play 服务不是最新的,我什至无法进行身份验证.
我被困在这里,因为根据我的 SDK 管理器,我拥有最新的 google play 服务
我不认为这是我的代码的问题,因为当我使用我朋友的手机进行调试时它可以工作,但在我使用模拟器时却没有.
如何在 Android Studio 内置模拟器中更新我的 google play 服务.
自从谷歌推出
从 26.0.3 开始
<块引用>确保您在安装了 playstore 的情况下使用模拟器.检查您是否安装了 sdk manager -> sdk 平台 -> Android 8 -> Google Play ... 系统映像.下载它.使用该图像创建新的模拟器.
Hi I am trying to run an Android Program I have created that can connect to Firebase with Authentication using email and password but it seems that I cannot even authenticate due to the fact of them saying my Google Play Service is not up to date.
I am stump here as I have the latest google play services according to my SDK manager
and I don't think it is my code's problem as when I use my friend's phone for debugging it works but not when I am using the emulator.
How can I update my google play services in the Android Studio built-in emulator.
Since Google introduced Google Play Store images in Android SDK Tools 26.0.0 now emulators comes with installed Google Play Store.
When creating Emulator use images that support Google Playstore (currently Nexus 5 and Nexus 5x with android O)
From 26.0.3
- Adds a new tab in the extended window for Google Play Store images that displays the Play Services version and a button to check for updates to Play Services.
Edit: Make sure that you use emulator with playstore is installed. Check if you have sdk manager -> sdk platforms -> Android 8 -> Google Play ... system image installed. Download it. Create new emulator using that image.
这篇关于如何在 Android Studio 的模拟器上更新 Google Play 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!