Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

Set up Your Emulator

When you develop an Android appli­ca­tions where would you test it, You can­not test it every time on your mobile or tablet. “Emu­la­tor” is the answer. Emu­la­tor is a soft­ware that act as your Android device. Every Android devel­oper must have the emu­la­tor set up on the Eclipse.

Another point is you can­not have all the android devices with all dif­fer­ent con­fig­u­ra­tions but don’t worry In Emu­la­tor you can test your appli­ca­tions on all the con­fig­u­ra­tions which you don’t own.

Steps to follow:

In Eclipse, go to Windows->Android Vir­tual Device Man­ager .

Open Android Virtual Device Manager

Open Android Vir­tual Device Manager

Click on the “Cre­ate” in Android Vir­tual Device Man­ager Window.

Create New Virtual Device -1

Cre­ate New Vir­tual Device –1

Once you click on cre­ate, the Cre­ate new Android Vir­tual Device (AVD) window.

create new Android virtual device (AVD)

cre­ate new Android vir­tual device (AVD)

Now fill the fol­low­ing fields :

  • AVD Name : TH-AVD
  • Device : Nexus 4 (4.7″ , 768 x 1280: xhdpi) , you select from the var­i­ous options from the drop down based on for which device you want to cre­ate emulator.
  • Tar­get : Select the Tar­get API, I have selected ‘Android 4.4.2 — API Level 19′.
  • CPU/ABI: Intel Atom (x86)
  • Skin : Skin with dynamic hard­ware controls
  • Front Cam­era : None
  • Back Cam­era : None
  • RAM : 1907
  • Inter­nal Stor­age : 200

Now Click OK

create new Android virtual device (AVD) -1

cre­ate new Android vir­tual device (AVD) –1

You should cre­ate few AVDs with dif­fer­ent API lev­els and hard­ware con­fig­u­ra­tions so that you can test your appli­ca­tion on dif­fer­ent ver­sions of the Android OS.

Now you can locate your newly added AVDTH-AVD”.

Select the TH-AVD from the list and click Start.

Start AVD -1

Start AVD –1

Once start is clicked , You will get a win­dow with Launch Options.

select the “Scale dis­play to real size”, so that emu­la­tor will be set accord­ing to your screen size. you can select other options wisely based on your com­puter screen.

Launch Options

Launch Options

Click Launch.

The Android Emu­la­tor will be launched. Ini­tially the it will take time, because it will boot the Android OS.

Starting Android Emulator

Start­ing Android Emulator

Android Emulator

Android Emu­la­tor

After some time the Android Emu­la­tor will be ready for com­pletely and it will be ready for your application..

First the emu­la­tor will appear with locked screen like a real android device.

Locked Screen

Locked Screen

Click on the lock and swipe to the right, the home screen will appear.

Home Screen

Home Screen

Happy Android­ing 🙂
Sumit Jain

You may also like...

1 Response

  1. November 13, 2014

    […] the Emu­la­tor, Read the arti­cle “Emu­la­tor” to know how to cre­ate a new […]

Leave a Reply

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