Next step, we need to build our application:
ionic build android
Be careful here, this step may break if you’re behind a firewall. The first execution will take a long time, so be patient.
When this step ends, look at the output log, last two lines should look something like this:
Built the following apk(s):
We’ll use the last line location to deploy our application. Make sure your smartphone is prepared to accept an incoming application. In case of Android platform, you must enable Developer Options and USB Debugging.
Do this:
adb install -r platforms\android\build\outputs\apk\android-debug.apk
or you can do it like this:
ionic run android -l -c -s

Download The Code

You can download this example at GitHub:
GitHub Download

Who Am I?

Between working as a senior Java developer in one of the largest insurance companies in the world and traveling, in my free time, I work as a professional mobile development adviser. I'm also a major jQuery Mobile supporter back at StackOverflow and a forum moderator at the official Ionic Framework forum.