android - 使用 Google Maps Android API v2 时出错

标签 android google-maps android-maps

<分区>

Possible Duplicate:
This app won’t run unless you update Google Play Services. (via Bazaar)

我正在尝试显示 Google Maps Android API v2 中的 map 。 https://developers.google.com/maps/documentation/android/ .

当我运行该应用程序时,它会在模拟器中显示消息“除非您更新 google play 服务,否则该应用程序将无法运行”。

我还查看了 Google Maps V3,如 https://developers.google.com/maps/documentation/javascript/它说它也可以在移动应用程序中使用。

有人可以帮我解决 v2 中的问题并建议使用 v3 是否可以更简单吗?

最佳答案

我的理解是 Google Play 服务无法安装在模拟器上,因此 Maps API v2 无法在模拟器上进行测试。 Google 人员在以下 Google+ 帖子中似乎证实了这一点

Google plus discussion

这对我来说是个令人失望的消息。

关于android - 使用 Google Maps Android API v2 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13776989/

相关文章:

android - 在 Cocos Creator cocos2d-x 中减小游戏大小

Android解析html表格

javascript - 谷歌地图与 Bootstrap 3 轮播错误?

android - 操作栏选项卡中的 MapFragment

android - android 中的 GeoPoint 创建

android - 在 android 中自定义 google maps V2 的配色方案

java - 如何阻止 Proguard 删除类型参数?

android - 不允许的分数类型

ios - marker.iconView?.addSubview(UIButton) 无法使用 Gmaps 点击

javascript - Angular 9 Google Maps API Place Autocomplete