How to Create Virtual Device in Android Studio
This post is intended to teach you how to create virtual device in Android Studio. I know you have been struggling a lot with Android Studio lately. I am here to help you get rid of this minor inconvenience.
So I am guessing you have already done some coding, and have clicked on the Run App button to test your program and it has opened the following window:
If not, you can always open this window by directly navigating to Tools> Android > AVD on your Android Studio IDE.
This will, of course, open a slightly different window but it will have the same “New Virtual Device” option which we need to click to move forward.
So the following steps will teach you how to create virtual device in Android Studio.
Steps on How to Create Virtual Device in Android Studio
Step 1: Click on Create New Virtual Device. It will open a new dialog box that says Virtual Device Configuration.
This is the window where you can select the standard type of mobile you are designing it for. As you can see in the Category section you can develop your app for a TV, wear or a Tablet as well.
Step 2: Select the mobile you wish to see your app on, and then click on Next.
It will take you to the following System Image selection screen.
This is probably one of the best things about virtual devices. You can have any Operating System of your choice, based on your target audience. Nougat, Oreo, Lollipop etc. are all Android Operating System that you can layer on your virtual device. It will work just like it works on a mobile with all the features that you need.
I will let one of the recommended ones to download.
Step 3: Simply clicking on Download now:
Clicking on the above will download the respective files and then open the following License Agreement. You know what to do.
Step 4: Click on Accept and then on Next.
Doing so will allow the Android Studio component installer to start installing the required image files.
Step 5: Once done click on Finish.
Next option on System Image dialog box will then highlight.
Step 6: In the verify configuration window you can give a name to your AVD (Android Virtual Device) and then click on Finish.
Doing so will then take you back to Select Deployment Target screen again. However, the difference is that it will begin to show the device that you had configured.
That’s it!
Next time you press that Run App button without connecting any emulator or USB device, you will still have a Virtual Device to progress with.
Happy App Making!
Check out our other cool Android tutorials as well.