- Run app with live reload (Android)
ionic cap run android -l
- Run app with live reload (iOS)
ionic cap run ios -l
- How to generate a release apk without using opening android studio
ionic capacitor copy android
- How to generate a debug apk without opening android studio
ionic capacitor copy android && cd android && ./gradlew assembleDebug && cd ..
- How to generate icons & splash screen without specifying platform
cordova-res
- How to build and run apk directly on the device from CLI
ionic capacitor copy android && cd android && ./gradlew assembleDebug && ./gradlew installDebug && cd ..