Download Google apps (GoogleLoginService.apk , GoogleServicesFramework.apk , Phonesky.apk) from http://wiki.rootzwiki.com/Google_Apps#Universal_Packages_2
Start your emulator:
emulator -avd VM_NAME_HERE -partition-size 500 -no-audio -no-boot-anim
Then use the following commands:
# Remount in rw mode adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system # Allow writing to app directory on system partition adb shell chmod 777 /system/app # Install following apk adb push GoogleLoginService.apk /system/app/. adb push GoogleServicesFramework.apk /system/app/. adb push Phonesky.apk /system/app/. # Vending.apk in older versions adb shell rm /system/app/SdkSetup*
Zdroj: http://stackoverflow.com/questions/11154222/google-play-on-android-4-0-emulator
adb pull /system/build.prop
adb remount adb push build.prop /system/build.prop adb install GoogleServicesFramework.apk adb install Vending.apk adb install Gmail.apk (optional but sometimes signing in here lets the market sign in) adb shell rm /system/app/SdkSetup.apk
Rooting the standard android image on the emulator
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system adb push su /system/xbin/su adb shell chmod 06755 /system adb shell chmod 06755 /system/xbin/su adb install superuser.apk
zdroj: