[GH-ISSUE #130] Google Play Store missing #88

Closed
opened 2026-03-01 15:40:19 +03:00 by kerem · 14 comments
Owner

Originally created by @lddd on GitHub (Nov 20, 2018).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/130

Hello,

from the docs it says it includes Google Play Store, however i could not find one image yet where Play Store is included, which one is it?

Tested:
butomo1989/docker-android-x86-7.0
butomo1989/docker-android-x86-7.1.1
butomo1989/docker-android-x86-8.0
butomo1989/docker-android-x86-9.0

thanks in advance

Originally created by @lddd on GitHub (Nov 20, 2018). Original GitHub issue: https://github.com/budtmo/docker-android/issues/130 Hello, from the docs it says it includes Google Play Store, however i could not find one image yet where Play Store is included, which one is it? Tested: butomo1989/docker-android-x86-7.0 butomo1989/docker-android-x86-7.1.1 butomo1989/docker-android-x86-8.0 butomo1989/docker-android-x86-9.0 thanks in advance
kerem 2026-03-01 15:40:19 +03:00
Author
Owner

@bughaver commented on GitHub (Feb 6, 2019):

Would like this feature back! any update on the progress?

<!-- gh-comment-id:460897970 --> @bughaver commented on GitHub (Feb 6, 2019): Would like this feature back! any update on the progress?
Author
Owner

@billotronic commented on GitHub (Feb 22, 2019):

github.com/budtmo/docker-android@fcb89f2702/docker/Emulator_x86 (L128)

Not at a PC at the moment but it appears that its still being downloaded at the very least.

<!-- gh-comment-id:466566058 --> @billotronic commented on GitHub (Feb 22, 2019): https://github.com/budtmo/docker-android/blob/fcb89f27027059fae5d6b1c35f3c924ef66a762f/docker/Emulator_x86#L128 Not at a PC at the moment but it appears that its still being downloaded at the very least.
Author
Owner

@bughaver commented on GitHub (Feb 27, 2019):

Hey @budtmo thanks for all your work, just wondering if this bug is on your roadmap for the near future? happy to help test!

<!-- gh-comment-id:467685128 --> @bughaver commented on GitHub (Feb 27, 2019): Hey @budtmo thanks for all your work, just wondering if this bug is on your roadmap for the near future? happy to help test!
Author
Owner

@marad9016100 commented on GitHub (Mar 8, 2019):

Hi all,

any update on this issue?
Maybe emulator should be incorporated by default SDK packages instead of being downloaded from the Internet?

I tried to install
"system-images;android-${API_LEVEL};google_apis_playstore;x86" "system-images;android-${API_LEVEL};google_apis_playstore;x86_64" "extras;google;google_play_services"

and add to .ini file
PlayStore.enabled=true

but with no luck.

<!-- gh-comment-id:471029418 --> @marad9016100 commented on GitHub (Mar 8, 2019): Hi all, any update on this issue? Maybe emulator should be incorporated by default SDK packages instead of being downloaded from the Internet? I tried to install "system-images;android-${API_LEVEL};google_apis_playstore;x86" "system-images;android-${API_LEVEL};google_apis_playstore;x86_64" "extras;google;google_play_services" and add to .ini file PlayStore.enabled=true but with no luck.
Author
Owner

@marad9016100 commented on GitHub (Mar 11, 2019):

Hi All,
I believe I've found the solution, still have to test it.
When I'll be sure about solution I can create the PR.

  1. Do not use applinker, delete those lines
    github.com/budtmo/docker-android@fcb89f2702/docker/Emulator_x86 (L124-L128)

github.com/budtmo/docker-android@fcb89f2702/docker/Emulator_x86 (L124-L128)

2)Download playstore and services with SDK, add:
"system-images;android-${API_LEVEL};google_apis_playstore;x86" "system-images;android-${API_LEVEL}; "extras;google;google_play_services"
Please note that some images are using x64 version.

github.com/budtmo/docker-android@fcb89f2702/docker/Emulator_x86 (L114)

  1. avd config.ini is by default created with:
    image.sysdir.1=system-images/android-{level}/google_apis/x86/

should be changed to
image.sysdir.1=system-images/android-{level}/google_apis_playstore/x86/

<!-- gh-comment-id:471486192 --> @marad9016100 commented on GitHub (Mar 11, 2019): Hi All, I believe I've found the solution, still have to test it. When I'll be sure about solution I can create the PR. 1) Do not use applinker, delete those lines https://github.com/budtmo/docker-android/blob/fcb89f27027059fae5d6b1c35f3c924ef66a762f/docker/Emulator_x86#L124-L128 https://github.com/budtmo/docker-android/blob/fcb89f27027059fae5d6b1c35f3c924ef66a762f/docker/Emulator_x86#L124-L128 2)Download playstore and services with SDK, add: "system-images;android-${API_LEVEL};google_apis_playstore;x86" "system-images;android-${API_LEVEL}; "extras;google;google_play_services" Please note that some images are using x64 version. https://github.com/budtmo/docker-android/blob/fcb89f27027059fae5d6b1c35f3c924ef66a762f/docker/Emulator_x86#L114 3) avd config.ini is by default created with: image.sysdir.1=system-images/android-{level}/google_apis/x86/ should be changed to image.sysdir.1=system-images/android-{level}/google_apis_playstore/x86/
Author
Owner

@bughaver commented on GitHub (Mar 17, 2019):

@marad9016100 any luck?

<!-- gh-comment-id:473611309 --> @bughaver commented on GitHub (Mar 17, 2019): @marad9016100 any luck?
Author
Owner

@marad9016100 commented on GitHub (Mar 18, 2019):

I did not managed to automate the solution.
For now the workaround is to to build modified image locally.

For SDK 8.0 worakoround is:

  1. Modify dockerfile - copy source of the Dockerfile + add one line

FROM butomo1989/docker-android-x86-8.0 (expand this source)
RUN yes | sdkmanager --licenses && sdkmanager "system-images;android-26;google_apis_playstore;x86" "extras;google;google_play_services" "system-images;android-26;default;x86"

  1. modify app.py to use google_apis_playstore instead of the google_apis

    creation_cmd = 'avdmanager create avd -f -n {name} -b google_apis_playstore/{sys_img} -k "system-images;android-{api_lvl};'
    'google_apis_playstore;{sys_img}" -d {device} -p {path}'.format(name=avd_name, img_type=IMG_TYPE,
    sys_img=SYS_IMG,
    api_lvl=API_LEVEL, device=device_name_bash,
    path=avd_path)

  2. build image from modifed Dockerfile

<!-- gh-comment-id:473810840 --> @marad9016100 commented on GitHub (Mar 18, 2019): I did not managed to automate the solution. For now the workaround is to to build modified image locally. For SDK 8.0 worakoround is: 1) Modify dockerfile - copy source of the Dockerfile + add one line FROM butomo1989/docker-android-x86-8.0 (expand this source) RUN yes | sdkmanager --licenses && sdkmanager "system-images;android-26;google_apis_playstore;x86" "extras;google;google_play_services" "system-images;android-26;default;x86" 2) modify app.py to use google_apis_playstore instead of the google_apis creation_cmd = 'avdmanager create avd -f -n {name} -b google_apis_playstore/{sys_img} -k "system-images;android-{api_lvl};' \ 'google_apis_playstore;{sys_img}" -d {device} -p {path}'.format(name=avd_name, img_type=IMG_TYPE, sys_img=SYS_IMG, api_lvl=API_LEVEL, device=device_name_bash, path=avd_path) 3) build image from modifed Dockerfile
Author
Owner

@marad9016100 commented on GitHub (Apr 30, 2019):

I managed to build modified image basing on
https://github.com/budtmo/docker-android/blob/master/docker/Emulator_x86

still it uses Android 5.0.1.
I have created image for Android 8.0, still it does not run stable - sometimes my test apps crash.

@budtmo
Could you please publish all Dockerfiles or at least Dockerfile for 8.0 or 8.1 version?

<!-- gh-comment-id:487892670 --> @marad9016100 commented on GitHub (Apr 30, 2019): I managed to build modified image basing on https://github.com/budtmo/docker-android/blob/master/docker/Emulator_x86 still it uses Android 5.0.1. I have created image for Android 8.0, still it does not run stable - sometimes my test apps crash. @budtmo Could you please publish all Dockerfiles or at least Dockerfile for 8.0 or 8.1 version?
Author
Owner

@budtmo commented on GitHub (May 3, 2019):

I have only 1 Dockerfile for emulator and you just need to change the value by using build-arg @marad9016100 . it would be great if someone can help to solve this issue.

<!-- gh-comment-id:489123554 --> @budtmo commented on GitHub (May 3, 2019): I have only 1 Dockerfile for emulator and you just need to change the value by using build-arg @marad9016100 . it would be great if someone can help to solve this issue.
Author
Owner

@pgerlich commented on GitHub (Jul 2, 2019):

@marad9016100 would you be willing to share what changes you had to make to the Emulator_86 image in order to get this working?

<!-- gh-comment-id:507520497 --> @pgerlich commented on GitHub (Jul 2, 2019): @marad9016100 would you be willing to share what changes you had to make to the `Emulator_86` image in order to get this working?
Author
Owner

@marad9016100 commented on GitHub (Jul 12, 2019):

Unfortunately my modifications do not result in creating the same image. There are other issues that do not reproduce on original image.
Basically to get playstore all that have to be changed is:
google_apis to google_apis**_playstore**

also adding this may be useful
google_play_services

<!-- gh-comment-id:510840667 --> @marad9016100 commented on GitHub (Jul 12, 2019): Unfortunately my modifications do not result in creating the same image. There are other issues that do not reproduce on original image. Basically to get playstore all that have to be changed is: google_apis to google_apis**_playstore** also adding this may be useful google_play_services
Author
Owner

@bughaver commented on GitHub (Jun 17, 2020):

any progress on this one?
or any known versions working?

<!-- gh-comment-id:645078505 --> @bughaver commented on GitHub (Jun 17, 2020): any progress on this one? or any known versions working?
Author
Owner

@jaysonabilar commented on GitHub (Jan 13, 2021):

Hi, we are currently encountering this issue also as our app also needs playstore in order to run properly. Would like to know there is progress on this issue? or do you have suggestions/workarounds for us to have an emulator with playstore? Thanks

<!-- gh-comment-id:759249845 --> @jaysonabilar commented on GitHub (Jan 13, 2021): Hi, we are currently encountering this issue also as our app also needs playstore in order to run properly. Would like to know there is progress on this issue? or do you have suggestions/workarounds for us to have an emulator with playstore? Thanks
Author
Owner

@zek commented on GitHub (Apr 10, 2022):

Having playstore disables "adb root" so appium doesn't work in this case.

<!-- gh-comment-id:1094216150 --> @zek commented on GitHub (Apr 10, 2022): Having playstore disables "adb root" so appium doesn't work in this case.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-android#88
No description provided.