地图无法进入模拟器 android api v2 [英] Map not getting in emulator android api v2

查看:21
本文介绍了地图无法进入模拟器 android api v2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在模拟器中安装我的地图应用程序,它安装得很好但没有在上面获取地图,在日志猫中显示错误,例如 Google Maps Android API v2 仅支持具有 OpenGL ES 2.0 及更高版本的设备,但我只看到缩放按钮和所有其他用户界面.我必须做什么才能在 android API v2 的模拟器中获取地图.

I want to install my map application in emulator it installed fine but not getting map on it,showing error in log cat like Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above, but I am Just seeing zoom buttons and all other UI. What i have to do to get map in emulator in android API v2.

我点击了这个链接:在 Android 模拟器上运行 Google Maps v2

推荐答案

我终于在我的模拟器中得到了地图.我按照这些步骤来实现它.

I got finally map in my emulator. I followed these steps to achieve it.

  1. 创建avd并启动模拟器

  1. Create avd and start emulator

转到 Android SDK 中的平台工具路径并将这些 apk 放入其中.

Go to platform tools path present in Android SDK and put these apk's in it.

  • Install com.android.vending.apk (Google Play Store, v.3.10.9)
  • Install com.google.android.gms.apk (Google Play Service, v.2.0.12)

使用命令提示符(shift+右键单击-->在此处打开命令窗口)转到平台工具路径,一一安装这些apk.按照这些命令

Install these apk's one by one by going to platform tools path by using command prompt(shift+Right click-->open command window here).Follow these commands

  • adb 设备
  • adb install com.android.vending.apk
  • adb 安装 com.google.android.gms.apk

就是这样.:)

这篇关于地图无法进入模拟器 android api v2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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