npx cap copy android code example
Example: ionic capacitor android
// if you didn't run before
ionic build
// then
npx cap add android
npx cap sync
// if you didn't run before
ionic build
// then
npx cap add android
npx cap sync