How Can I Get Google Play to Work on Android Emulator in Android Studio Bumblebee +

13.6k Views Asked by At

This issue has been fixed by Google in the newer AS/Emulator

NOTE: Only some API's is available with Playstore, if the one you chose is not available at the creation time, follow this guide

The AVD GUI does NOT allow the selection of Play Images for some reason anymore! enter image description here

3

There are 3 best solutions below

4
On

Since you cannot select the Play store image anymore you need to edit some files

NOTE: This may also work in Visual Studio (not tested - some feedback will be apreciated!)

  1. Load the image with SDK manager SDK Platforms

  2. Create a device with the correct API and Hardware profile and Finish AVD

  3. Before you start this new AVD you need to Edit the files as follow Show on Disc

  4. Edit config.ini (I use VIM but any editor will work) Edit the following lines in the file

PlayStore.enabled=true
image.sysdir.1=system-images\android-32\google_apis_playstore\x86_64\
tag.display=Google Play
tag.id=google_apis_playstore

Note: if you are on a Mac with Apple chip, set this line differently:

image.sysdir.1=system-images/android-32/google_apis_playstore/arm64-v8a 
  1. Start the AV Device and check if the Play Icon is available - Test it By logging in! Play Store!
  2. ALL DONE!
2
On

In the latest Android Studio (Electric Eel), you need to launch SDK Manager, and under SDK Platforms check the "Show Package Details" box. Then select the Google Play images:

enter image description here

2
On

Looks like Google Play support is now at the device level, rather than when selecting the OS. And the first devices in the list don't have it.

Ran into the same confusion - turns out needed to scroll down more.