在模拟器中更新 Google Play 服务 [英] updating Google play services in Emulator

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

问题描述

我在 Google Play 上遇到过很多这样的问题,我使用的是 Android 4.2.2 API 17.

我的应用程序需要 Google Play 服务 8.1,它编译良好,当它在模拟器上运行时,它显示消息'您需要更新您的 Google Play 服务'

当我点击更新时什么也没有发生,

如何在不下载任何最新 API 版本的情况下更新 Google Play 服务?

解决方案

2017 年 12 月 18 日更新

您可以通过模拟器中的 Play 商店应用更新 Google Play 服务,就像在使用 API 24 的物理 Android 设备上一样.

检查

I have gone through many questions like this on Google Play, I am using Android 4.2.2 API 17.

My app requires Google play services 8.1 , It compiles fine and when it runs on emulator it shows message that 'You need to update your Google play services ' ,

When I click on update nothing happens,

How can I update the Google Play services without downloading any latest API version ?

解决方案

Update On 18-Dec-2017

You can update Google Play Services via the Play Store app in your emulator just as you would on a physical Android device from API 24.

check Emulator new features added with stable update from Android Studio v 3.0

Google Play Support - From Google : We know that many app developers use Google Play Services, and it can be difficult to keep the service up to date in the Android Emulator system images. To solve this problem, we now offer versions of Android System Images that include the Play Store app. The Google Play images are available starting with Android Nougat (API 24). With these new emulator images, you can update Google Play Services via the Play Store app in your emulator just as you would on a physical Android device. Plus, you can now test end-to-end install, update, and purchase flows with the Google Play Store.


Quick Boot - Quick Boot allows you to resume your Android Emulator session in under 6 seconds

Android CTS Compatibility

Performance Improvements - With the latest versions of the Android Emulator, we now allocate RAM on demand, instead of allocating and pinning the memory to the max RAM size defined in your AVD.

Virtual sensors

Wi-Fi support

GPS location and Many more...

OR

Update this SDK Build-Tools and Android Emulator to latest and this alert message will not come again,

Settings --> Android SDK --> SDK Tools(tab) --> Android SDK Build-Tools

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

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆