05 November 2014

install Gapps (Google Play) dalam emulator

http://stackoverflow.com/questions/11154222/google-play-on-android-4-0-emulator



1) list avd

  • tukar default home dir for ANDROID_SDK_HOME
    • ANDROID_SDK_HOME="/home/my_home/"
  • android list avd


2) open avd with specific system partition size

emulator -avd VM_NAME_HERE -partition-size 500 -no-audio -no-boot-anim



3) download gapp(names ~ gapps-jb-20130813-signed.zip)
  • http://wiki.rootzwiki.com/Google_Apps#Universal_Packages_2



4) 
# 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*





ref :http://stackoverflow.com/questions/11154222/google-play-on-android-4-0-emulator

No comments:

Post a Comment

Terima kasih