Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Následující verze
Předchozí verze
android:instalace-marketu [07.04.2012 15:05]
wladik vytvořeno
android:instalace-marketu [17.03.2013 23:00]
wladik 4.0
Řádek 1: Řádek 1:
 ====== Instalace marketu do emulátoru ====== ====== Instalace marketu do emulátoru ======
 +
 +===== Android 4 =====
 +
 +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]]
 +
 +===== Android 2.2 =====
 +
 +
 +{{:​android:​emulator_files.rar|Pomocné soubory}}
  
   - Create an avd running 2.2 (froyo,​plenty of places explain how to do this so I won't)   - Create an avd running 2.2 (froyo,​plenty of places explain how to do this so I won't)
Řádek 15: Řádek 44:
   adb install Gmail.apk (optional but sometimes signing in here lets the market sign in)   adb install Gmail.apk (optional but sometimes signing in here lets the market sign in)
   adb shell rm /​system/​app/​SdkSetup.apk   adb shell rm /​system/​app/​SdkSetup.apk
 +
 +===== rootnutí emulátoru =====
 +Rooting the standard android image on the emulator
 +  - Open a command prompt (cd to the directoy where you extracted the files)
 +  - enter these commands
 +
 +  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: zdroj:
   - [[http://​forum.xda-developers.com/​showthread.php?​t=821742]]   - [[http://​forum.xda-developers.com/​showthread.php?​t=821742]]
android/instalace-marketu.txt · Poslední úprava: 17.03.2013 23:00 autor: wladik