In android development, we need an android device to run the application. So, developers of Android Studio provide an option to install the android virtual devices to run it. In this article, we will learn how to create emulator in android studio.
Follow the below steps to create emulator in Android Studio.
Step 1: Firstly, Select Tools > AVD Manager.
Another way to open the AVD Manager directly by the AVD icon in the Toolbar.
Step 2: Now click on Create Virtual Device.
Step 3: A pop-up window will be there and here we select the category Phone because we are creating android app for mobile and select the model of mobile phone we want to install.
Step 4: Here we select the android version to download like Q, Pie, Oreo, etc, and click the Next button.
Step 5: In this pop-up window if we want to change the name of our emulator then we can change it here and then click the Finish button to complete the installation.
Step 6: From here we can select the virtual device we want to run as the emulator, so click on the run icon.
Step 7: Finally our virtual device is ready to run our android app.