无法运行谷歌Play服务上仿真器(需要更新谷歌Play服务) [英] Can not run Google Play service on emulator (need to update Google Play service)
问题描述
我试图安装谷歌播放在模拟器上。我已经按照从谷歌开发网站指令。
I've tried to install Google Play on the emulator. I've followed the instruction from Google Dev Site.
使用ADV经理似乎好了,设备都瞄准谷歌API版本22,但是当我跑我的形象,我总是有一个此应用程序将无法运行,除非你更新谷歌播放服务
Using ADV manager it seems ok, devices are targeting Google API version 22, but when I run my image I always have an "This app won't run unless you update Google Play services"
我的测试程序工作正常,在真实设备上
My test program works fine on a real device
的依赖,包括这样的:
dependencies {
compile 'com.google.android.gms:play-services:7.3.0'
}
我试图手动添加谷歌播放APK:
I've tried to manually add the Google Play apk:
> adb install -r com.google.android.gms-7.3.29_\(1866531-038\)-7329038-minAPI9.apk
4503 KB/s (37113767 bytes in 8.048s)
pkg: /data/local/tmp/com.google.android.gms-7.3.29_(1866531-038)-7329038-minAPI9.apk
那么,有没有与谷歌Play业务运行的方式来检查仿真器?如果没有,怎么解决这个问题呢?
So is there a way to check emulator is running with Google Play services? If no, how to solve the problem?
推荐答案
我要创建与谷歌API的仿真器21(而不是22)和它的工作...查看@selvin言论
I had to create an emulator with Google API 21 (and not 22) and it worked... See @selvin remarks
这篇关于无法运行谷歌Play服务上仿真器(需要更新谷歌Play服务)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!