如何使用谷歌服务创建一个avd

时间:2014-11-28 12:16:07

标签: android avd

我使用材料设计找到了一个很好的官方开源项目ioschediosched取决于API 20+,我没有这样的真实设备,所以我克隆了源代码并在一个带有Lollipop的Android虚拟设备中运行应用程序。稍后,我发现iosched也依赖于Google服务,因此我无法在虚拟设备上运行它。

我想知道我是否可以使用Google服务创建AVD,或者我可以在cdated avd后安装google service apk。我对此感到困惑,尝试后多次失败。

有谁知道如何解决这个问题?提前谢谢。

1 个答案:

答案 0 :(得分:1)

来自谷歌自己的网站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. 
Note: Only Android 4.2.2 and higher versions of the Google APIs platform 
include Google Play services.
相关问题