0

在过去的 2 个小时里,我一直在尝试让地图在 Mac 上的模拟器中工作。我已经遵循了一些关于 Stack 的建议,例如thisthis我已经尝试过一遍又一遍,这些是否过时了?

我已经完成了几个新项目,新的虚拟设备,一直在清理,但它无法正常工作。有什么建议么?

4

1 回答 1

0

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.

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

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.  

you need to install

    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

EDIT:

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

one more thing I would like to suggest you that version of google play service library that you refer in you project should be same as you install google play service apk file. It is not mandatory but some time you may face the same problem google play service version miss match error.

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

For,

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

vending: http://www.androidfilehost.com/?fid=9390135922294521859

Hope it will help you.

于 2013-06-17T12:13:58.793 回答