ionic capasitor code example
Example 1: ionic capacitor android
// if you didn't run before
ionic build
// then
npx cap add android
npx cap sync
Example 2: start ionic 5 capacitor app
ionic start [appName] [appType] --capacitor
e.g. ionic start myApp blank --capacitor
Example 3: ionic capacitor run ios
npx cap open ios