本文介绍了如何在Android Studio中的模拟器上更新Google Play服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在尝试运行我已创建的Android程序,该程序可以使用电子邮件和密码通过身份验证连接到Firebase,但似乎我甚至无法进行身份验证,因为他们说我的Google Play服务不是最新的。





google play服务根据我的SDK经理





和我不认为这是我的代码的问题,因为当我使用我的朋友的手机进行调试时,它的工作原理并不是当我使用模拟器时。



如何更新我的谷歌在Android Studio内置模拟器中播放服务。 由于Google推出了


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

这篇关于如何在Android Studio中的模拟器上更新Google Play服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-01 12:19