ionic update to capacitor 3 code example
Example 1: ionic capacitor v3 add android
npm install @capacitor/android
npx cap add android
npx cap run android
Example 2: start ionic 5 capacitor app
ionic start [appName] [appType] --capacitor
e.g. ionic start myApp blank --capacitor