Building App on device
Learn how to build the app on iOS and/or Android device
Build the app for Android
Once you have modified your app as per your requirements, you can start building the app for Android. Add an android platform to the project by running
$ ionic cordova platform add android
This step will add an android platform to the project.
Now prepare the platform for a build
$ ionic cordova prepare android
And run the app on your device or simulator by running
$ ionic cordova run android
Build the app for iOS
An iOS app can be built only on an Apple based system. Add an iOS platform to the project by running
$ ionic cordova platform add iOS
This step will add an iOS platform to the project.
Now prepare the platform for a build
$ ionic cordova prepare ios
And run the app on your device or simulator by running
$ ionic cordova run ios
OR, run the app using XCode directly.
Last updated
Was this helpful?