How to run and test an Android App on a Virtual Device?

In the last tutorial you learned how to build a basic Android App using Android Studio. Once you have created the App how can you test it ? Or how can you run it ?

For this we use the Emulator which comes with Android SDK. It simulates a real world Android Device. Alternatively if you have an Android device like a smartphone then you can run the app on that as well. It’s fairly easy.

Let’s look at how to use the Emulator. Please refer to the below video to understand the steps needed.

To get started you will have to setup Android Virtual Device in the Android Studio. For this open the Android Virtual Device Manager from Android Studio. You can setup multiple Virtual Devices and use any of them to run the App as long as it’s compatible.

In the next tutorial we will see what happens behind the scene when you run the App.