It is important to have a Virtual Device, maybe more than one. You can run your app without the need for a physical device and you can also test your app in different specifications (screen size/resolution, API etc)
Click Tools and then AVD Manager. You will see the following windows:
Click Create Virtual Device. Select the category, then a device definition. I chose Nexus 5x. Click Next
Click Other Images and select or Download the system image for your device. It is better to choose an armeabi-v7a and with Google APIs. If your Virtual device is too slow then choose an x86 system image.
Downloading the image…
When it is ready click Finish and then Next. Verify the Configuration, make any changes and then click Finish
Your virtual device now appears to the list.
If you want to create a new Virtual Device, then click Create Virtual Device at the bottom left corner
To start/launch the virtual device, just click the play button at the end of the row.
The device is starting…
- Android Studio – Create a project, source code and resource files
- Windows 10 – Android Studio installation.
- Ubuntu 18.04 – Android Studio installation.