Build APK from ionic react

Hi, How do i build a APK from ionic REACT.

First Install Android Studio:
https://developer.android.com/studio

Next, use this guide to add Capacitor to your project:
https://capacitor.ionicframework.com/docs/getting-started/with-ionic/

Then use npx cap open android from your project folder, wait for Android Studio to finish building the project and go to Build -> Build Bundle(s) APK(s) -> Build APK(s)

1 Like

Thank you @j-carigna