I tried so many options / blogs / scripts to install GooglePlay for the emulator (works via Android Studio), but it never works. I saw so many different mistakes
- Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
- Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
- Failure Free space / system remaining
Comment. Why is it so difficult to install GooglePlay on an emulator, can someone provide steps or GApps that work with Marshmallow / Noughat . Or why Google doesn't provide standard steps for installing GApps for emulators!
Here is the gist of what I tried:
- Copy GApps from http://opengapps.org/ [Platform: x86_64; Android: 6 and 7; Option: full]
- Extract the encrypted file to a temporary folder, and then extract the following apks from it to another folder
- gsfcore-all / nodpi / custom-app / GoogleServicesFramework / GoogleServicesFramework.apk
- gsflogin-all / nodpi / own-application / GoogleLoginService / GoogleLoginService.apk
- gmscore-x86_64 / nodpi / custom application / PrebuiltGmsCore / PrebuiltGmsCore.apk
- vending-all / nodpi / proprietary app / Phonesky / Phonesky.apk
Try clicking these apks through this script
IMAGE_NAME=Nexus_5X_API_24
emulator @${IMAGE_NAME} -no-boot-anim -writable-system &
adb wait-for-device
adb root
adb shell stop
adb shell 'mount -o remount,rw /system'
adb push PrebuiltGmsCore.apk /system/priv-app/
adb push GoogleServicesFramework.apk /system/priv-app/
adb push GoogleLoginService.apk /system/priv-app/
adb push Phonesky.apk /system/priv-app/
adb shell start
Last error : Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
How can I make sure openGApps will be compatible with Android, in addition to taking these parameters into account :
- Android Version (Noughat / Api 24 / Android 7)
- Platform (x86_64)
!
-