Is Google Play Store supported in avd emulators?

前端 未结 9 1860
没有蜡笔的小新
没有蜡笔的小新 2020-12-08 12:28

After googling quite a bit I am unable to find the answer to this question. Is google play store officially support in avd emulators.

I know it was once stopped , t

相关标签:
9条回答
  • 2020-12-08 13:01

    When creating AVD,

    1. Pick a device with google play icon.

    1. Pick the google play version of the image, of your desired API level.

    Now, after creating the AVD, you should see the google play icon .

    0 讨论(0)
  • 2020-12-08 13:05

    There is no google play store in avd emulator. But you can install it manually.

    1. Install Google APIs System Image, so you will have google services already (without play store)

    2. Create AVD based on Google APIs image

    3. Download smallest archive from http://opengapps.org/ and extract Phonesky.apk from it

    4. Push Phonesky.apk to /system/priv-app/ on avd.

    5. Restart avd. Google play should be there.

    Recently I've just tried to do it by myself and you can find detailed tutorial on my blog: http://linuxoidchannel.blogspot.com/2017/01/how-to-install-google-play-store-on.html

    0 讨论(0)
  • 2020-12-08 13:07

    Starting from Android Studio 2.3.2 now you can create an AVD that has Play Store pre-installed on it. Currently, it is supported on the AVD's running

    • A device definition of Nexus 5 or 5X phone, or any Android Wear
    • A system image since Android 7.0 (API 24)

    Official Source

    For other emulators, you can try the solution mentioned in this answer.

    0 讨论(0)
  • 2020-12-08 13:11

    It's not officially supported yet.

    Edit: It's now supported in modern versions of Android Studio, at least on some platforms.

    Old workarounds

    If you're using an old version of Android Studio which doesn't support the Google Play Store, and you refuse to upgrade, here are two possible workarounds:

    1. Ask your favorite app's maintainers to upload a copy of their app into the Amazon Appstore. Next, install the Appstore onto your Android device. Finally, use the Appstore to install your favorite app.

    2. Or: Do a Web search to find a .apk file for the software you want. For example, if you want to install SleepBot in your Android emulator, you can do a Google Web search for [ SleepBot apk ]. Then use adb install to install the .apk file.

    0 讨论(0)
  • 2020-12-08 13:12

    If using the command line, you'll need to use one of the packages listed with

    sdkmanager --list | grep "playstore"
    

    Once that is installed you can use the appropriate package in

    avdmanager create avd --force --name testAVD --abi google_apis_playstore/x86_64 --package "system-images;android-28;google_apis_playstore;x86_64" -d 19
    

    Replace google_apis_playstore;x86_64 with the package you installed

    0 讨论(0)
  • 2020-12-08 13:15

    Yes, you can enable/use Play Store on Android Emulator(AVD): Before that you have to set up some prerequisites:

    1. Start Android SDK Manager and select Google Play Intel x86 Atom System Image (Recomended: because it will work comparatively faster) of your required android version (For Example: Android 7.1.1 or API 25)

    [Note: Please keep all other thing as it is, if you are going to install it for first time] Or Install as the image below:

    1. After download is complete Goto Tools->Manage AVDs...->Create from your Android SDK Manager

    Check you have provided following option correctly. Not sure about internal and SD card storage. You can choose different. And Target must be your downloaded android version

    1. Also check Google Play Intel Atom (x86) in CPU/ABI is provided

    2. Click OK

    3. Then Start your Android Emulator. There you will see the Android Play Store. See ---

    0 讨论(0)
提交回复
热议问题