In previous article you were able to install and configure your android environment. After installing and configuring android environment the next step is to have some basic knowledge of AVD ( Android Virtual Device ) . In this article you will learn how to create new android device.
So lets started!!!
Right click on eclipse and run eclipse as administrator.
Select “run as administrator” you will encounter with a screen like this.
Select workspace ( a folder where eclipse stores your project) . Remember it must be useful place of your PC .Browse it and press click “OK” , You will see the following window.
To create new AVD we have an option ” Android Virtual Device Manager” with Green icon.
Click the icon ,you will see the following window.
At this time you will see that you have with no virtual devices so click New to create new AVD .
Lets see how to fill the following option you have seen in above figure . Its time to choose correct device, so check what are the option you have with ,
Select First option i.e Nexus 4 (4.7 “, 768 x 1280:xhdpi) .Physical hardware come in different intensity and in different no of pixels Nexus 4 has 768×1280 no of pixels. Next to select “target ” , See the option that you have .
Currently you have just one option ( API level 17) , select it. When you will have done with both the option, CPU/ABI automatically select as ARM(armeabi-v7a)
Next we have to select the memory , i suggest you to make the memory smaller , because it is a good trick as it impact on actual physical memory of machine.The larger make the virtual device memory the smaller memory we have left for running eclipse and other services. Fill Internal storage 100 and SD Card 50.
Finally we fill the top most blank i.e AVD name ,this is your own choice . For the sake of simplicity i named it as Nexus4-17-xhdp.Where 17 for API level 17 . The final figure shows the complete configuartion of AVD.
So we make our new virtual device click OK and than click “Start” . Your Virtual device will start running .
At the end a good news for you, once you launch emulator you don’t need to run it again for different app, you keep it running and keep installing different app on it