0

I tried executing an android app to display the google map. when i run the code the following error appears on the emulator. Google Play Services, which some of your applications rely on, is not supported by your device. please contact the manufacturer for assistance. please guide me to run the application successfully

  • 1
    you can't run map application in emulator because emulator doesn't have `googleplay services` installed. – Spring Breaker Mar 13 '14 at 11:44
  • what are the other means of testing the application other than installing the .apk file on the device? – user3384417 Mar 13 '14 at 11:46
  • see this http://stackoverflow.com/questions/18459338/how-to-run-google-map-api-v2-on-android-emulator/18459530#18459530 It might help you. – Spring Breaker Mar 13 '14 at 11:49
  • this might help you. http://stackoverflow.com/questions/19358535/this-app-wont-run-unless-you-update-google-play-services-alert/19492412#19492412 – arshu Mar 13 '14 at 12:40

1 Answers1

0

You can successful install Google Maps v2 on an emulator using this guide. You should do the following steps: Create a new emulator Nexus S, Android 2.3.3. Don't use Google API.

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)

Test with this configuration on Android SDK Tools 22.0.1. Other configuration that target pure Android not the google one should work to.

Device: Galaxy Nexus
Target: Android 4.2.2 - API Level 17
CPU/ABI: ARM (armeabi-v7a)
Checked: Use Host GPU


Open the AVD

Execute this in the terminal / cmd

adb -e install com.google.android.gms.apk
adb -e install com.android.vending.apk

commands for ubuntu:

adb -e install -r com.google.android.gms.apk

adb -e install -r com.android.vending.apk

Dont forgot to give exact path of your apk file inside command.

Restart the AVD
Community
  • 1
  • 1
Lokesh
  • 5,180
  • 4
  • 27
  • 42