April 2017
Beginner to intermediate
378 pages
7h 57m
English
To test the setup, we will scaffold a new Ionic app, and emulate that using the Android and iOS emulators. We will first scaffold a tabs app. Create a folder named chapter6 and open a new command prompt/terminal. Run the following command:
ionic start -a "Example 14" -i app.example.fourteen example14 tabs --v2
To emulate the app on an Android emulator, first we need to add Android platform support for this project and then emulate it:
To add the Android platform, run the following command:
ionic platform add android
Once that is done, run the following command:
ionic emulate android
After some time, you will see the emulator launch, and the app will be deployed and executed inside the emulator. If you have already ...
Read now
Unlock full access