npm install -g @ionic/cli native-run ionic cap run android -l --external
npm install @capacitor/android npx cap add android npx cap run android
// if you didn't run before ionic build // then npx cap add android npx cap sync
npx cap open ios