android - 模拟器中缺少 Google Play 服务(Android 4.4.2)

标签 android emulation google-play-services

对于我下面的模拟器,我收到“设备上未安装 Google Play 服务”的错误消息。

根据 developer site ,它说'带有 AVD 的 Android 模拟器运行基于 Android 4.2.2 或更高版本的 Google API 平台

无法理解模拟器是否运行 4.4.2,那么为什么 google play 服务不存在?

enter image description here

enter image description here

一些相关的线程,但没有解决方案。 (添加这些只是为了指出这个问题不是重复的): Related Thread Related Thread

最佳答案

http://developer.android.com/google/play-services/setup.html

引用文档

If you want to test your app on the emulator, expand the directory for Android 4.2.2 (API 17) or a higher version, select Google APIs, and install it. Then create a new AVD with Google APIs as the platform target.

需要 Google API 的模拟器"S

快速查看目标

捕捉

enter image description here

我更喜欢在安装了 Google Play 服务的真实设备上进行测试

关于android - 模拟器中缺少 Google Play 服务(Android 4.4.2),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22141043/

相关文章:

android - 谷歌分析是否添加唤醒锁权限?

java - 安卓模拟器 : Unable to start webcam to capture picture in emulator

node.js - 使用 Node.js + Socket.io 时 Azure 模拟器无法启动

Android Streetview - 避免室内位置

android - 在库中使用外部 google-services.json 文件

java - 全局 EditText 变量

Android 在离开 Activity 时从内存中删除位图

android - 在未集成 Google 移动广告的情况下在 Android 上使用 Google Advertising Id

android - 根据关联的音频文件拦截 Android 通知?

Android 模拟器 - 切换显示器时显示蓝色