Android emulator setup – Android Virtual Device (AVD)

In this post, we will see how to setup Android Virtual Device, an Android emulator,

What is an emulator
Emulator is something which closely resembles real device like mobile or tablet,
where we can set the configuration such as RAM, OS version, processor,
sd memory space, camera etc.

Android SDK gives an option to create emulator based on required specifications.
so Android Virtual Device (AVD) comes with Android SDK.

Prerequisite: 

  • SDK Manager.exe 

[How to download and install android SDK, follow this post ]
Double click on SDK Manager.exe, (from AndroidSDKInstall folder), and install following packages

Check all options under Android x.x (API yy) (specific android OS, e.g Android 5.1.1 (API 22))
From Extras : Check Intel x86 emulator accelerator (HAXM installer)
then, click on install packages

avdsetup

  • AVD manager.exe

                       Windows Start > All Programs > Android SDK Tools

avdcreate
Click on Create, and fill all details to create an emulator
you should see one AVD created:

avdstart

AVDemulator

NOTE: if all the required packages are installed successfully, then AVD can launch properly, else sometimes it throws error

in this case, we have to manually install the intelhaxm-android.exe, you can get this exe file under .AndroidSDKInstallextrasintelHardware_Accelerated_Execution_manager

Content posted is based on learning or working experience, please leave comments if anything needs to be added or updated, discuss your queries on our facebook:qavalidation.com, Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: