How to run Ionic 2 App on Android Devices / Emulators

We have already learn how to develop Ionic 2 Mobile App, now we will learn how to Run Ionic 2 App on Android Devices / Emulators.
You have to first prepare your ionic App for android by writing following command on terminal

$ cordova prepare android

If you don’t have Android App development environment then download and install Android Studio and set up all requirements that are necessary for Android App development.

Then launch Android Studio and select “Open an existing Android Studio project”,

and select Android project from the path (YourProjectDirectory/platform/android)

To install the app at Emulator start a Genymotion device, you can download Genymotion Emulator for there site, or you can connect a Android Device to test app at real device.

 

Run Ionic 2 App on Android Devices / Emulators

Press Run button to run the app

Output

Screen # 1

Run Ionic 2 App on Android Devices / Emulators

 

Screen # 2

Run Ionic 2 App on Android Devices / Emulators

 

Leave a Reply

Your email address will not be published. Required fields are marked *