android - 如何在 Android 模拟器上运行 Google Map API V2

标签 android android-emulator google-maps-android-api-2

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

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

先告诉我,这可以在 Android 模拟器上运行 Google map 吗?

最佳答案

您应该使用基于 SDK 版本 4.2.2 或更高版本的模拟器。在这里查看详细信息:

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

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

关于android - 如何在 Android 模拟器上运行 Google Map API V2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18459338/

相关文章:

android - 检查 View 元素是否以编程方式添加到布局中

Android 谷歌地图 v2 : on click listener not responding

android - 即使更新了发布 key 的 SHA 1 指纹后,谷歌地图在 Play 商店发布后仍未加载

android - 如何修复 Android Studio 3.5 上的 'Waiting for build to finish' 错误

android - Xamarin.Forms 滑动手势识别器

android - 如何在 Android 中访问 Google Places API?

Android 设备显示在 DDMS 中但不运行我的应用程序

android - 获取 Activity 经理的状态

android - Android Google Api 在中国是否可用以及如何测试我的应用程序?

android - Recycler View 和 View Holder Pattern 改变了布局的行为