Hi
i want to ask how to build Ionic Apps with Capacitor only with CLI?
I mean i want to use CI Builds and with the current instructions i always have to open Android Studio.
Best,
Daniel
Hi
i want to ask how to build Ionic Apps with Capacitor only with CLI?
I mean i want to use CI Builds and with the current instructions i always have to open Android Studio.
Best,
Daniel
For debug builds run this:
ionic capacitor copy android && cd android && ./gradlew assembleDebug && cd ..
For release builds run this
ionic capacitor copy android && cd android && ./gradlew assembleRelease && cd ..
The deployment process bothered me so much that I made a simple tool for it. If you want, you can try it out: https://github.com/nidhaloff/buildonic