如何下载谷歌播放服务在Android模拟器? [英] How to download Google Play Services in an Android emulator?

查看:183
本文介绍了如何下载谷歌播放服务在Android模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用谷歌播放服务API在我的应用程序,但是当我打开模拟器来测试我的应用程序发送我一个消息,说谷歌播放服务必须下载。我知道,是因为我codeD本次测试在我的 MainActivity 的方法 onResume()
我想知道我怎么可以安装谷歌播放服务在我的模拟器,因为不久我将需要测试我的地图。

I want to use Google Play Services API in my application, but when I open the emulator to test my application it sends me a message that says "Google Play Services must be downloaded". I know that occurs because I coded this test in my MainActivity in the method onResume().
I want to know how I can install Google Play Services in my emulator, because soon I will need to test my maps.

推荐答案

查看设置谷歌播放服务它说:

要使用href="http://developer.android.com/reference/gms-packages.html">谷歌播放服务API 中的

To develop an app using the Google Play services APIs, you need to set up your project with the Google Play services SDK.

如果您尚未安装了谷歌Play业务的SDK还没有,去得到它现在遵循的指导的添加SDK软件包的。

If you haven't installed the Google Play services SDK yet, go get it now by following the guide to Adding SDK Packages.

要在使用谷歌播放服务SDK测试您的应用程序,您必须使用:

To test your app when using the Google Play services SDK, you must use either:

      
  • 是运行Android 2.3或更高版本,其中包括谷歌Play商店兼容的Andr​​oid设备。
  •   
  • 在Android模拟器与 AVD 运行基于Android 4.2.2的谷歌API的平台或高。
  •   
  • A compatible Android device that runs Android 2.3 or higher and includes Google Play Store.
  • The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

这篇关于如何下载谷歌播放服务在Android模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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