ionic capacitor run android -l --external code example
Example 1: ionic capacitor v3 add android
npm install @capacitor/android
npx cap add android
npx cap run android
Example 2: ionic capacitor android
// if you didn't run before
ionic build
// then
npx cap add android
npx cap sync