How Can I Get Google Play to Work on Android Emulator in Android Studio Bumblebee 2021.x.x.x

Viewed 689

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

2 Answers

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
avd.ini.displayname=Pixel 4 XL API 32 Play
image.sysdir.1=system-images\android-32\google_apis_playstore\x86_64\
tag.display=Google Play
tag.id=google_apis_playstore
  1. Start the AV Device and check if the Play Icon is available - Test it By logging in! Play Store!
  2. ALL DONE!

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

Related