Development issue/problem:
I’m completely new to Android Studio and I’m trying to install the Google Play application on the emulator. I have installed the Google and Google Play repository services and the Google x86 Atom System Image API of the SDK Manager, and I can configure the Google Play services for my sample application.
Now I want to install the Google Play application on the emulator. How do you do that? Any suggestions or the solution itself would be very useful. Thanks for your time, too.
How can I solve this problem?
Solution 1:
Starting with Android Studio 3.0 Canary 1, you now have several device options that come with an integrated Play Store application (Nexus 5X and Nexus 5 in the picture below).
Solution 2:
After a long period of testing everything seems obsolete. Not able to find the necessary MOTs such as GoogleLoginService.apk etc.
I made it work by installing two virtual devices.
- My device (Samsung Galaxy Tab A tablet with custom skin and size).
- The device that has the Play Store icon available in your DVD manager on the page where you can create a new profile.
I installed the first device and the second one with the same version of Android and I used the same profile from Samsung (because my tablet is from Samsung).
After this step I compared the config.ini file found there:
C:UsersUSER.androidavdDEVICE_ID
Under Ubuntu/Linux it is located at
~/.android/avd/DEVICE_ID
Change the following variables to :
PlayStore.enabled = real
image.sysdir.1=system-imagesandroid-27google_apis_playstorex86
tag.display=tag.id=google_apis_playstore
tag.id=google_apis_playstore
Here is an example of the difference between the fields that are modified:
After that, you probably need to reload the system image for the device, which you can do via Tools > AVD Manager.
Here is an example screenshot of what it would look like:
Then restart the device and the Play Store is installed and ready to use.
Solution 3:
Download Google applications (GoogleLoginService.apk , GoogleServicesFramework.apk , Phonesky.apk)
from http://wiki.rootzwiki.com/Google_Apps#Universal_Packages_2.
Start the emulator:
emulator -avd VM_NAME_HERE – partition size 500 – not-audio – not-load-anim
Then use the following commands:
Recording in rw mode
adb shell installation -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
Allows you to write to the application folder on system partition.
ad shell chmod 777 /system/app
Install the following apk
adb click GoogleLoginService.apk /system/app/.
adb click GoogleServicesFramework.apk /system/app/.
adb click Phonesky.apk /system/app/. # Vending.apk in older versions
adb shell rm /system/app/SdkSetup*
Note: this article
Solution 4:
None of this is necessary with the latest MM API images.
Everything I needed:
ad
click on Phonesky.apk /system/priv-app/.
Plug & Restart screen
Solution No 5:
You can navigate in the new version of the sdk:
C:Users{$User}AppDataLocalAndroidsdktools
Create an avd from the command line :
android has avd -name btelefoon -package
system images;android-23;google_apis;x86_64.
It will ask you to edit the profile, say yes and then indicate if you want CH Play installed or not, just type yes.
Then open the AVD Manager in Android Studio to reconfigure it.
Remarks : Don’t forget to change the CPU/ABI to x86
Good luck!
Related Tags:
install gapps on android emulator,google emulator google play,android emulator play store missing,install play store apps on avd,how to install google play services in android studio emulator,how to update google play services in android studio emulator,android virtual device download,android emulator apk,best virtual device for android studio,android studio create virtual device,import hardware profile android studio,android studio add device,google play store,play store apk,android emulator mac,google play apk,play store not found in android emulator