Save your modified image as system.img in the original folder. Under yaffey, copy the APK files you pulled from your device to /app folder. Rename the original system.img to system-original.img. I modify most often the one in \android-sdk\system-images\android-17\x86. Now start yaffey on Windows or a similar utility on Linux or Mac, and open system.img for the emulator image you want to modify. You must have root-level access (run adb root) to the device in order to pull these files from it. Obtaining the Google Play app from your deviceĭownloading Google Apps from some Internet site may not be quite legal, but if you have a phone or tablet with a corresponding Android version, just pull them out of your device: adb -d rootĪdb -d pull /system/app/GoogleLoginService.apkĪdb -d pull /system/app/GoogleServicesFramework.apk Afterwards I can start the emulator normally, without messing with adb, and Play Store is always there. Copy GoogleLoginService.apk, GoogleServicesFramework.apk, and Phonesky.apk (or Vending.apk in older versions of Android) to the /system/app folder of the system.img file of the emulator. You will need Yaffey on Windows, or a similar utility on other systems, to modify YAFFS2 images. I do this in a more permanent way - instead of installing the APKs each time with adb, permanently add them to the system image that the emulator uses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |