[GH-ISSUE #55] need latest google play service version on emulator #44

Closed
opened 2026-03-01 15:39:37 +03:00 by kerem · 10 comments
Owner

Originally created by @mehrdad-abdoli on GitHub (Dec 25, 2017).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/55

Hi
How can i install and update google play service on emulator ?

Originally created by @mehrdad-abdoli on GitHub (Dec 25, 2017). Original GitHub issue: https://github.com/budtmo/docker-android/issues/55 Hi How can i install and update google play service on emulator ?
kerem 2026-03-01 15:39:37 +03:00
Author
Owner

@zoutepopcorn commented on GitHub (Jan 2, 2018):

Yeah, I'm also interested.

I tried to boot it into recovery mode, but with ADB it fails.

I think we need to put it into recovery mode
https://github.com/opengapps/opengapps/wiki/FAQ

<!-- gh-comment-id:354771885 --> @zoutepopcorn commented on GitHub (Jan 2, 2018): Yeah, I'm also interested. I tried to boot it into recovery mode, but with ADB it fails. I think we need to put it into recovery mode https://github.com/opengapps/opengapps/wiki/FAQ
Author
Owner

@zoutepopcorn commented on GitHub (Jan 3, 2018):

Update:

The Google Play Store is now officially preinstalled the Android Emulator. Make sure you are running the latest version of Android Studio 2.4. In the Android Studio AVD Manager choose a virtual device configuration that has the Google Play store icon next to it, and then select one of the system images that have the label "Google Play". See this release note: https://androidstudio.googleblog.com/2017/04/android-studio-24-preview-4-is-now.html

<!-- gh-comment-id:354951832 --> @zoutepopcorn commented on GitHub (Jan 3, 2018): Update: The Google Play Store is now officially preinstalled the Android Emulator. Make sure you are running the latest version of Android Studio 2.4. In the Android Studio AVD Manager choose a virtual device configuration that has the Google Play store icon next to it, and then select one of the system images that have the label "Google Play". See this release note: https://androidstudio.googleblog.com/2017/04/android-studio-24-preview-4-is-now.html
Author
Owner

@budtmo commented on GitHub (Jan 3, 2018):

Hi @mehrdad-abdoli and @zoutepopcorn ,

Thank you for opening this issue. Why do you need google play / what kind of test or use case do you have? because I think you can install the app through .apk file using adb install command.

<!-- gh-comment-id:355053411 --> @budtmo commented on GitHub (Jan 3, 2018): Hi @mehrdad-abdoli and @zoutepopcorn , Thank you for opening this issue. Why do you need google play / what kind of test or use case do you have? because I think you can install the app through .apk file using adb install command.
Author
Owner

@mehrdad-abdoli commented on GitHub (Jan 6, 2018):

@butomo1989 google play service is needed to be installed so some feautures in our app working fine

<!-- gh-comment-id:355739198 --> @mehrdad-abdoli commented on GitHub (Jan 6, 2018): @butomo1989 google play service is needed to be installed so some feautures in our app working fine
Author
Owner

@mehrdad-abdoli commented on GitHub (Jan 6, 2018):

@zoutepopcorn I need play service in this repository android dockers

<!-- gh-comment-id:355739242 --> @mehrdad-abdoli commented on GitHub (Jan 6, 2018): @zoutepopcorn I need play service in this repository android dockers
Author
Owner

@greenerchen commented on GitHub (Mar 5, 2018):

@mehrdad-abdoli @butomo1989 Hi, I was looking for how to install play store in the emulator as well. Here is what I found. When you list all available system images by sdkmanager, you may find the system images with play store which are same as what you find in the Android Studio AVD Manager.

sdkmanager --list --verbose

Available system images with play store:
system-images;android-24;google_apis_playstore;x86
system-images;android-25;google_apis_playstore;x86
system-images;android-26;google_apis_playstore;x86
system-images;android-27;google_apis_playstore;x86
system-images;android-P;google_apis_playstore;x86

You will get the latest google play store installed in the emulator after Installing the one with latest API and creating an avd with it either in the docker container or in Dockerfile before building a docker image.

echo y | sdkmanager "system-images;android-27;google_apis_playstore;x86"
echo n | avdmanager create avd \
    -k "system-images;android-27;google_apis_playstore;x86" \
    -n "emulator-27-playstore" -b x86 -g google_apis_playstore
<!-- gh-comment-id:370505794 --> @greenerchen commented on GitHub (Mar 5, 2018): @mehrdad-abdoli @butomo1989 Hi, I was looking for how to install play store in the emulator as well. Here is what I found. When you list all available system images by sdkmanager, you may find the system images with play store which are same as what you find in the Android Studio AVD Manager. ``` sdkmanager --list --verbose ``` Available system images with play store: system-images;android-24;google_apis_playstore;x86 system-images;android-25;google_apis_playstore;x86 system-images;android-26;google_apis_playstore;x86 system-images;android-27;google_apis_playstore;x86 system-images;android-P;google_apis_playstore;x86 You will get the latest google play store installed in the emulator after Installing the one with latest API and creating an avd with it either in the docker container or in Dockerfile before building a docker image. ``` echo y | sdkmanager "system-images;android-27;google_apis_playstore;x86" echo n | avdmanager create avd \ -k "system-images;android-27;google_apis_playstore;x86" \ -n "emulator-27-playstore" -b x86 -g google_apis_playstore ```
Author
Owner

@budtmo commented on GitHub (Mar 8, 2018):

Hi @greenerchen ,

I just checked it but it supports only for api 24 / android 7.0 and higher. :( so I need to put the logics to separate other android version that I support like android 5.0.1. It would be great if somebody can help me with it.

<!-- gh-comment-id:371458372 --> @budtmo commented on GitHub (Mar 8, 2018): Hi @greenerchen , I just checked it but it supports only for api 24 / android 7.0 and higher. :( so I need to put the logics to separate other android version that I support like android 5.0.1. It would be great if somebody can help me with it.
Author
Owner

@greenerchen commented on GitHub (Mar 8, 2018):

Hi @butomo1989

Yea, it supports only for api 24 / android 7.0 and higher version on x86 processor. For arm process or prior versions, it might need manual play store installation like this solution which i successfully used with the docker image butomo1989/docker-android-arm-7.0. (Sorry, I did install play store in this way, but the play store was not working. It crashed.) Can you elaborate more about where to put the logics to separate other android versions for system images with play store?

<!-- gh-comment-id:371527059 --> @greenerchen commented on GitHub (Mar 8, 2018): Hi @butomo1989 Yea, it supports only for api 24 / android 7.0 and higher version on x86 processor. ~~For arm process or prior versions, it might need manual play store installation like [this solution](https://infosectrek.wordpress.com/2017/01/17/installing-the-google-play-store-app-apk-on-the-android-emulator/) which i successfully used with the docker image butomo1989/docker-android-arm-7.0.~~ (Sorry, I did install play store in this way, but the play store was not working. It crashed.) Can you elaborate more about where to put the logics to separate other android versions for system images with play store?
Author
Owner

@budtmo commented on GitHub (Jun 18, 2018):

Could somebody use this project: https://github.com/yeriomin/YalpStore and give a feedback? It would be great if you update the readme as well.

<!-- gh-comment-id:398019751 --> @budtmo commented on GitHub (Jun 18, 2018): Could somebody use this project: https://github.com/yeriomin/YalpStore and give a feedback? It would be great if you update the readme as well.
Author
Owner

@budtmo commented on GitHub (Jul 5, 2018):

Fixed in release 1.1

<!-- gh-comment-id:402793252 --> @budtmo commented on GitHub (Jul 5, 2018): Fixed in [release 1.1](https://github.com/butomo1989/docker-android/releases/tag/1.1)
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#44
No description provided.