This app won't run unless you update Google Play Services. (via Bazaar)-Collection of common programming errors

I spent about one day to configure the new gmaps api(Google Maps Android API v2) on the android emulator. None of the methods those I found on the internet was not working correctly for me. But still I did it.

1) Create new emulator with next configuration:

www.dropbox.com/s/nunuh9htu25qfpz/stackoverflow_1.png

On other versions I was could not configure because have of various errors when installing the necessary applications.

2) Start emulator and install following applications: GoogleLoginService.apk, GoogleServicesFramework.apk, Phonesky.apk. You can do this with next commands:

2.1 adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
2.2 adb shell chmod 777 /system/app
2.3-2.5 adb push Each_of_the_3_apk_files.apk /system/app/

Links to download apk files. (www.dropbox.com/sh/20hcf8kxdk19z3c/Ukc8uGnk7p) I have copied it from my rooted android device.

GoogleLoginService.apk – www.dropbox.com/s/lfde3juixuy88rg/GoogleLoginService.apk

GoogleServicesFramework.apk – www.dropbox.com/s/9kurwyhbbuecaea/GoogleServicesFramework.apk

Phonesky.apk – www.dropbox.com/s/9x8924gtb52ksn6/Phonesky.apk

3) Install on the emulator Google Play services and Google maps. I have an error 491, if installing from Google Play store. I uploaded apps to the emulator and run installation from it(You can use adb to install this). Links to apps:

Google maps – www.dropbox.com/s/koo4wiwqg8agy8n/com.google.android.apps.maps-1.apk

Google Play services – www.dropbox.com/s/bh058hbrelccfsr/com.google.android.gms-2.apk

4) I success runned demo sample on the emulator after these steps.

www.dropbox.com/s/d83i4jnsh4s2b9c/stackoverflow_2.png

Sorry for making images and links, I have not rating and I want to help others;)

Originally posted 2013-11-10 00:13:32.