Running google map application on Android Emulator

后端 未结 6 744
野趣味
野趣味 2020-11-30 13:07

My application uses Google Maps v2. This application successfully working on Android powered device. I tried to run the same application on Android emulator. The target of m

6条回答
  •  遥遥无期
    2020-11-30 13:38

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

    1. Create avd and start emulator

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

      • com.android.vending-20130716
      • com.google.android.gms-20130716
    3. 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 devices
      • adb install com.android.vending-20130716
      • adb install com.google.android.gms-20130716
    4. Import google-play-services_lib project which is present at project location and add it to your project.
    5. Restart emulator and clean your project and run it through emulator.

    That's it. :) you can download above apk's from following link

    Running Google Maps v2 on the Android emulator

    enter image description here

提交回复
热议问题