如何将 Google Play .apk 安装到我的 Android 4.0 模拟器上?
How can I install the Google Play .apk onto my Android 4.0 emulator?
从 这里.
启动你的模拟器:
emulator -avd VM_NAME_HERE -partition-size 500 -no-audio -no-boot-anim
然后使用以下命令:
# Remount in rw mode.
# NOTE: more recent system.img files are ext4, not yaffs2
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*
这篇关于Android 4.0 模拟器上的 Google Play的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!