ionic capacitor build --prod code example
Example 1: ionic capacitor build android apk command
ionic capacitor build android
// Once Android Studio launches
// click on Build -- >Build Bundle /Apk
// Then your apk will be at: android/app/build/outputs/apk/debug/app-debug.apk
Example 2: start ionic 5 capacitor app
ionic start [appName] [appType] --capacitor
e.g. ionic start myApp blank --capacitor