Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator without playstore on android studio 3.1 Latest release

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?

[Image of nexus 5 & 5X with playstore logo]1

[Image of my created AVDs not showing playstore symbols]2

like image 267
Jaydip Kalkani Avatar asked Mar 28 '18 08:03

Jaydip Kalkani


People also ask

Can we open Android Emulator without opening Android Studio?

Assuming you have installed Android studio properly,Open a command prompt and type emulator -list-avds which will display all the devices and then type emulator @avd_name where avd_name is the the name of your emulator installed.

Can we install Android Emulator without Android Studio?

This is the step-by-step note that answering the question: How to install and launch Android emulator without installing Android Studio itself. Set JAVA_HOME variable. or use Start -> Edit the system environment variables -> Environment variables...

Which emulator is used in Android Studio?

The Android Emulator enables you to test your app on many different devices, virtually. The emulator comes with Android Studio by default, so you shouldn't have to manually install it. The basic workflow with the emulator goes as follows: Verify that you have the system requirements.


1 Answers

You should create a new emulator. Before opening it for the first time, follow these 3 easy steps:

  1. Go to C:\Users\\[user]\.android\avd\\[your virtual device folder], open config.ini with a text editor
  2. Change PlayStore.enabled=false to PlayStore.enabled=true
  3. Change image.sysdir.1 = system-images\android-[version]\google_apis\x86\ to
    image.sysdir.1 = system-images\android-[version]\google_apis_playstore\x86\
like image 144
Sharif Yazdian Avatar answered Sep 22 '22 15:09

Sharif Yazdian