How to update Google Play Services on the emulator in Android Studio(如何在 Android Studio 的模拟器上更新 Google Play 服务)
问题描述
您好,我正在尝试运行我创建的 Android 程序,该程序可以使用电子邮件和密码通过身份验证连接到 Firebase,但由于他们说我的 Google Play 服务不是最新的,我什至无法进行身份验证.
我被困在这里,因为根据我的 SDK 管理器,我拥有最新的 google play 服务
我不认为这是我的代码的问题,因为当我使用我朋友的手机进行调试时它可以工作,但在我使用模拟器时却没有.
如何在 Android Studio 内置模拟器中更新我的 google play 服务.
自从谷歌推出
从 26.0.3 开始
<块引用>- 在显示 Play 服务版本的 Google Play 商店图片的扩展窗口中添加了一个新标签,以及一个用于检查 Play 服务更新的按钮.
确保您在安装了 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 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Android Studio 的模拟器上更新 Google Play 服务
基础教程推荐
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01