ionic cap build android 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: ionic 5 capacitor build apk with android studio
npx cap copy android
npx cap open android