Create and Use AVD in Android Studio

Create and Use AVD in Android Studio

android, TUTORIALS

Create and Use AVD in Android Studio




In this lesson Create and Use AVD in Android Studio we are gonna show how to create a fresh android Virtual Device to run and test our application after complete the development. To run and test our application we have many ways, but the default and the predefined method is best forever.
In our previous lessons we already told we can also use the third party emulator devices like ANDY, Genymotion, and Bluestacks etc. But in this lesson we are gonna show how to download the emulator and create a new avd in android Studio.
We can find the AVD icon below the Main Menu bar,
Create and Use AVD in Android Studio
After click this icon it shows the list of emulator devices if we create any one at early. Or else we have to create a new one by click the Create Virtual Device.
Create and Use AVD in Android Studio
The above image shows already one emulator device is created and we can create another by simply click the the button at the bottom left corner. And immediately it opens up the wizard for create a new Virtual Device.
In that Create and Use AVD in Android Studio wizard it shows category of products which are all possible to run by the Android Operating System. It Shows the list like create a Emulator for Smart TV, Android Wear Devices like Smart Watch and Wrist Band, and obviously the major category mobile, and finally the Tablet.
Create and Use AVD in Android Studio
Android TV Emulator
Create and Use AVD in Android Studio
Android Wear Emulator
Create and Use AVD in Android Studio
Android Phone Emulator
Create and Use AVD in Android Studio
Android Tablet Emulator
We can create the AVD for all the above categories, but here Create and Use AVD in Android Studio we are gonna know how to create Mobile Emulator Device. Now here we have to select any of the device which we want to test our device.




But there is some system specifications are required to run the emulator flawlessly. Because the emulator here is considered as a whole new virtual device, so it needs all the requirements like the Hyper-V and some other requirements to run the emulator successfully.
After choose the Nexus 5 which is 4.95in and 1080X1920 with the more large dpi called xxhdpi, click the next button at the right bottom corner.
After click the next button it’ll takes to the next level which one shows the available android OS images available in our system or we can get it from the online repository. But here we have an latest image called Marshmallow in the Recommended list, and choose that one.
Create and Use AVD in Android Studio
The above wizard in Create and Use AVD in Android Studio is the normal and default settings to create an AVD. We can also have some advanced settings like choose the amount of RAM and etc,.
Create and Use AVD in Android Studio
And here we have to choose the default orientation option,
Create and Use AVD in Android Studio
So far in the advanced settings we can enable and disable the camera graphics devices hardware and software device settings. Using this advanced settings we can enable or disable the device frame and etc. Now we leave all the settings as it is and we didn’t change any of the values at here.
But we can also change the RAM value according to our system specification. If we have a wealthy RAM in our System like 16GB or 32GB you can allocate more than 2GB which makes our Emulator so easy to run and execute the application. But if we have limited System Memory then we will leave it with the default Value.
And after complete all the settings then click the Finish button to create our fresh emulator. After successfully created it’ll be listed in the Emulator selection list.
Create and Use AVD in Android Studio
After click the start button it opens our newly created Emulator. At first it’ll takes some to boot up the operating system because it needs to gather information to run the device as virtual device.
After boot up it’ll shows the emulator and here we can experience the brand new latest android mobile. And here we can run and test the application and test it over here.




We hope this lesson will explains something about Create and Use AVD in Android Studio. We will learn about a lot more about android and its amazing options in the upcoming future lessons.

Leave a Reply