I have tried so many options/blogs/scripts to install GooglePlay for Emulator (running through Android Studio) but it never works. I have seen so many different errors
Comment - Why is it so hard to install GooglePlay on Emulator, can someone provide steps or GApps that work with Marshmallow/Noughat. Or Why doesnt Google provide standard steps to install GApps for Emulators !
Here's the gist of what I have tried :
Try pushing these apks through this script
IMAGE_NAME=Nexus_5X_API_24 #Nexus_5X_API_23
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
Latest Error : Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
How can I make sure that openGApps will be compatible with Android apart from taking these options into account :
I would really appreciate any help !!
Reference -
Android Studio emulator does not come with Play Store for API 23
How to install Google Play app in Android Studio emulator?
How to download Google Play Services in an Android emulator?
Starting with Android Studio 3.0 Canary 1, you have now some options of devices that come with the Play Store app built-in(Nexus 5X and Nexus 5 on image below). The current supported versions are Nougat and O.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With