如何在 Android 模拟器上运行 Google Map API V2 [英] How to run Google Map API V2 on Android emulator

查看:52
本文介绍了如何在 Android 模拟器上运行 Google Map API V2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在我的 Android 应用程序中实现 Google Maps v2,但不幸的是,我看到的不是 Maps,而是以下消息:

I've tried to implement Google Maps v2 in my Android Application, but unfortunately instead of Maps I can see this message:

如果没有 Google Play 服务,此应用将无法运行,您的手机中缺少这些服务以及获取 Google Play 服务"按钮.

This app won't run without Google Play Services, which are missing from your phone along with button "Get Google Play Services".

在告诉我之前,这可以在安卓模拟器上运行谷歌地图吗?

Before tell me, is this possible to run Google Maps on Android emulator?

推荐答案

您应该使用基于 SDK 4.2.2 或更高版本的模拟器.详情请看这里:

You should use an emulator based on SDK version 4.2.2 or higher. Look here for details:

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

注意:只有 Android 4.2.2 及更高版本的 Google API 平台包含 Google Play 服务.

Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services.

这篇关于如何在 Android 模拟器上运行 Google Map API V2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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