I have updated my android studio 3.0.1 to 3.1 yesterday and i was trying to create AVD of nexus 5 & nexus 5X which default comes with playstore. I installed x86 system image of naugat Android 7.0(Google Apis) on it. When download completes and i boot my AVD then it contains some google apps (gmail,playmusic,playmovie) but doesn't contain google play store or play services. Why it happens? In earlier version of android studio (e.g. 3.0.1) if i follow the same process then it creates AVD with playstore. Can anyone please tell me what's going wrong in this?
4 Answers
You should create a new emulator. Before opening it for the first time, follow these 3 easy steps:
- Go to
C:\Users\\[user]\.android\avd\\[your virtual device folder]
(Windows) or/Users/[user]/.android/avd/[your virtual device folder]
(MacOS), openconfig.ini
with a text editor - Change
PlayStore.enabled=false
toPlayStore.enabled=true
- Change
image.sysdir.1 = system-images\android-[version]\google_apis\x86\
to
image.sysdir.1 = system-images\android-[version]\google_apis_playstore\x86\

- 817
- 8
- 15

- 4,332
- 3
- 20
- 22
-
2vow, super hacky way! – nuhkoca Sep 25 '20 at 17:02
-
1Excellent! Changing the config.ini changes the status of the AVD, and instead of Play icon it will provides a download link to system image that has Play Store in it. For some reason system images with play store is not listed in system images list. This is the only option that enables one to download system images with play store. Thanks for the information shared on changing the config.ini file. – Simmam Oct 16 '21 at 00:00
-
1Note: After changing the config.ini, refresh the avd list (refresh icon in the bottom right of avd manager) to make download link appear else it will show error on starting. – Simmam Oct 16 '21 at 00:06
-
2For mac, the path is ~/.android/avd – Kristy Welsh Nov 16 '21 at 12:45
-
2still works in 2021! just needs to relaunch Android Studio and click on download. – fenchai Dec 24 '21 at 04:06
-
1Worked like a breeze! How do you find out this info? Many thanks!! – RufusInZen Jan 10 '22 at 07:51
I found a solution. I was selecting system image x86 android nougat 7.0(Google Apis) so, it was only including some google apps but it was not including google play store. I didn't receive any perfect reply on stackoverflow after posting my question so, i report a bug from android studio (Help > Submit Feedback) and they gave me the perfect answer. I was selecting system image having google Apis but if i want to get play store installed on emulator i have to select system images having (google play).
I know it's a silly mistake but no one have replied me with this answer so, i think i should have to post my answer so others can refer this and get help from it so, i have posted my answer.

- 2,493
- 6
- 24
- 56
-
5This is not universal. For example in my Android studio, I dont see any downloadable image with Google Play. There is no such thing. All downloadable x86 images are labeled as "Api XY with Google APIs". And they all work fine, except Android 10 (API 29) which mysteriously doesnt containt Google Play app. – qkx Nov 03 '19 at 09:36
Try to use Nougat from "Recommended" tab, not from "x86 Images" tab.

- 18,333
- 31
- 67
- 74

- 291
- 1
- 7
-
Yes, your answer is also correct but i think it doesn't point what's the actual problem. i suggest you to read my own answer because I found what's the actual problem and i have pointed it in my answer. Thanks for suggestion. – Jaydip Kalkani Mar 29 '18 at 13:44
-
You could follow this tutorial Here.
or you can also give it try to genymotion emulator which has inbuilt play store with option of different apis. Here.

- 2,175
- 14
- 24
-
I am already using genymotion. It works fine but i am testing an app which contains google map. In genymotion i have installed gapps so it shows map but it can't retrieve my location even if location option in my laptop is on and i think the tutorial link you have given is needed earlier when android studio doesn't provide any devices with playstore but now android studio avail this. So, i think no need to follow this long tutorial. I have tried to follow this tutorial yesterday but i failed so i leave it. If you have any better solution then please suggest me. Thanks. – Jaydip Kalkani Mar 28 '18 at 09:20
-
Sorry I didn't know you are using location services as genymotion does not provide mock location service. In case of that tutorial you could also refer this discussion i found on Stackoverflow. https://stackoverflow.com/questions/34291902/android-studio-emulator-does-not-come-with-play-store-for-api-23?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa – Prashant Abdare Mar 28 '18 at 09:28
-