Android AVD 安装电子市场

1. 新建avd: market

2. 拷贝%sdk%\platforms\android-8\images\system.img到%UserProfile%\.android\avd\market.avd\

3. emulator.exe -avd market -partition-size 96

4. adb pull /system/build.prop

    注释ro.config.nocheckin=yes

5. adb remount

6. adb push build.prop /system/build.prop

7. adb push GoogleServicesFramework.apk /system/app

   adb push Vending.apk /system/app

   adb shell rm /system/app/SdkSetup.apk

8. 删除%UserProfile%\.android\avd\market.avd目录下面的userdata*.img, cache.img

9. 重新启动market虚拟机

 

你可能感兴趣的:(android)