Android版谷歌地图V2不工作的模拟器 [英] Android Google Maps V2 not working in Emulator

查看:214
本文介绍了Android版谷歌地图V2不工作的模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图在最后2小时了让地图在Mac模拟器工作。我按照对堆栈的若干建议,如<一个href=\"http://stackoverflow.com/questions/14445093/how-to-show-google-map-v2-on-android-emulator\">this和<一个href=\"http://stackoverflow.com/questions/14040185/running-google-maps-v2-on-android-emulator\">this我已经尝试了一遍又一遍,这些过时的?

I have been trying for the last 2 hours now to get the map to work in the emulator on Mac. I have followed several suggestions on Stack such as this and this I have tried over and over again, are these out of date?

我已经做了几个新的项目,新的虚拟设备,清理所有的时间和它只是不工作。有什么建议?

I have done several new projects, fresh virtual devices, cleaned all the time and it's just not working. Any suggestions?

推荐答案

我有同样的问题,因为你安装的APK文件,我已经成功地在Android 4.2.2版本17级模拟器中运行的谷歌地图版本2后问。我有花2天发现什么问题。

I had the same problem as you ask after installing apk files I have successfully run the google map version 2 on Android version 4.2.2 level 17 emulator. I have spend 2 days to find what is the problem.

请确保已经更新谷歌API的版本与最新的更新版本。
和谷歌在Android SDK中经理的额外文件夹播放服务。

make sure you have updated version of google api with latest updated version. and google play service in extra folder of Android Sdk Manager.

链接跟踪的所有步骤开始仿真地图V2: https://开头博客,emildesign .rhcloud.com / p = 527

Link To follow all step to start map v2 on emulator: https://blog-emildesign.rhcloud.com/?p=527

steps:
1) delete your current AVD or Genymotion emulator
2) create new AVD or Genumotion emulator
    - Device: select Device any
    - Target: choose target as you want but make sure it should be  4.0 or greater
    - CPU: Intel or ARM
    - RAM, Heap, Internal storage, sd card: it should be lower according to your pc specification means if you have good RAM and process then go for the higher as you can.  

您需要安装

    three apk files on emulator
    1)  com.android.vending.apk
    2) com.google.android.gms.apk ( above both are given in the link)

    Note: Google play service apk (gms) version should be same as your
    google play service library mention in your code. Check google play
    service library version name and download the same version of apk file

    3) com.google.android.maps

编辑:

如果您已成功安装所有这些在你的模拟器没有失败,那么你将在模拟器绝对开放的谷歌地图。

if you have successfully install all these on your emulator without failure then you will definitely open google map on emulator.

一件事,我想建议大家,版本的谷歌的发挥,你在你的项目是指应该为你安装谷歌播放服务apk文件相同的服务库。这不是强制性的,但有些时候你可能会面临同样的问题,谷歌播放服务版本小姐比赛的错误。

我已经发现了一些链接,希望它会帮助你。 APK文件下载链接:

I have found some link hope it will help you. Apk file download link:

有关,

克: http://uploaded.net/file/bnzl1si4

自动售货机: http://www.androidfilehost.com/?fid=9390135922294521859

希望它会帮助你。

这篇关于Android版谷歌地图V2不工作的模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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