AVD错误 - 更新谷歌播放服务 [英] AVD Error - Update Google Play Services
问题描述
我试图将GCM到我的Android应用
I'm trying to incorporate GCM into my Android app
我有编译com.google.android.gms:发挥服务:8.3.0
在我的应用程序级的build.gradle
I've got compile 'com.google.android.gms:play-services:8.3.0' in my app level build.gradle
我有类路径com.google.gms:谷歌服务:1.5.0
在我的项目级的build.gradle
I've got classpath 'com.google.gms:google-services:1.5.0' in my project level build.gradle
我的AVD为API23,谷歌的目标的API。
我的项目结构的编译SDK版本是谷歌API APIS 23。
My AVD is API23, Target Google APIs. My Project Structure's Compile SDK version is Google APIS API 23.
从AVD中,我可以看到已安装的谷歌游戏服务为v 85年8月1日。
所以我想这可能是问题
From within the AVD i can see the installed Google Play services is v 8.1.85. So I thought this might be the problem
不过,我不能安装通过一个新的APKADB安装* .apk文件因为我告诉INSTALL_FAILED_UPDATE_INCOMPATIBLE
However I can't install a new apk via 'adb install *.apk' as I'm informed INSTALL_FAILED_UPDATE_INCOMPATIBLE
我有谷歌播放服务,版本28安装在我的SDK设置
I have Google Play Services, rev 28 installed in my SDK settings
我在Android初学者,所以我presuming我忽略了一些基本的东西!
I'm a beginner on Android so I'm presuming I've overlooked something fundamental!
推荐答案
除非谷歌将不会更新与新的谷歌虚拟设备上播放服务,你必须使用Genymotion与谷歌应用程序。
Unless Google won't update the virtual devices with the new Google Play Services you have to use Genymotion with Google apps.
如何安装在Genymotion谷歌应用程序:<一href=\"https://stackoverflow.com/questions/17831990/how-do-you-install-google-frameworks-play-accounts-etc-on-a-genymotion-virt\">How你一个Genymotion虚拟设备上安装谷歌框架(播放,会计等)?
How to install Google apps in Genymotion: How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device?
这篇关于AVD错误 - 更新谷歌播放服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!