Setup Android Emulator in Android Studio

Android Emulator

In this article you will learn how to setup Android Emulator in Android Studio after first installation of android studio. Android emulator is a simulation of android device on your computer. Moreover, it provides almost all the capabilities of a real android device. Further more, the emulator comes with predefined configurations for various Android phone, tablet, Wear OS, and Android TV devices.

Android Emulator Requirements and recommendations

In addition to android studio system requirements, android emulator has the following requirements.

  • SDK Tools 26.1.1 or higher.
  • 64-bit processor.
  • Windows: CPU with UG (unrestricted guest) support.
  • HAXM 6.2.1 or later (HAXM 7.2.0 or later recommended).

The use of hardware acceleration has additional requirements on Windows and Linux:

  • Intel processor on Windows or Linux: Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality.
  • AMD processor on Linux: AMD processor with support for AMD Virtualization (AMD-V) and Supplemental Streaming SIMD Extensions 3 (SSSE3).
  • AMD processor on Windows: Android Studio 3.2 or higher and Windows 10 April 2018 release or higher for Windows Hypervisor Platform (WHPX) functionality.

Install the emulator

In order to install the emulator, open the android studio and create a new project. Then, open file menu and open settings. From settings window select Appearance & Behavior then select system settings then Android SDK. You should see the following image.

Setting up android emulator

By default android studio installs the emulator, but make sure that Android Emulator has checked and Insatalled as the above image. For AMD processors make sure that the Android Emulator Hypervisor Driver for AMD Processors (insataller) checked andr installed. If not please check it and click “Ok” button.

Setting up Android Emulator

If it is the first time to install android studio, from the right side of tool window bar click on Emulator tab. You will see the following image and you will see the following message.

The android emulator is currently configured to run as a stand alone application, To make android emulator to launch in this window instead, select Launch in a tool window option in the emulator settings.

Setting up Android Virtual Device

So, click the link Emulator Settings, a new window will appear as following image. Then, check on “Launch in a tool window” and click OK button.

Launch emulator in a tool window
Launch emulator in a tool window

Setting up Android Virtual Device

After that, the emulator tool window will be changed as the following image. Then click on AVD Manager link in the tool window.

Open AVD manager
Open AVD manager

You will see the following AVD Manager window as the following image. For AMD processors you will see warning in the top of window.

install hypervisor driver for AMD processors
install hypervisor driver for AMD processors

If you are using Intel processor just click on the play button on automatically created virtual device. If not click on “Create Virtual Device” button in button left side of .the window.

android emulator

For further information visit google developers documentations.

Related posts

Leave a Comment