capacitor build apk code example
Example: capacitor.ionicframework.com to apk
ionic capacitor copy android && cd android && ./gradlew assembleDebug && ./gradlew installDebug && cd ..
ionic capacitor copy android && cd android && ./gradlew assembleDebug && ./gradlew installDebug && cd ..