Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the APK file created when building with Ionic 4 and Capacitor?

I would like to get the APK file so I can install it manually rather than running through android studio. If I search in the android directory I can see a few and the most likely is: [project]\android\app\build\intermediates\instant-run-apk\debug\app-debug.apk

However this doesn't install properly on my device. It works fine if I build and run through Android studio via Ionic using: ionic capacitor run android

Do I need to do a signed production build for this to work?

like image 291
MadMac Avatar asked Oct 28 '25 11:10

MadMac


2 Answers

In Android Studio menu Main Menu -> Build Bundle(s) / APK(s) -> Build APK(s). This then pops up a link with which you can open the file location.

like image 101
MadMac Avatar answered Oct 30 '25 02:10

MadMac


Ionic 4 app apk file location as below

[project]\platforms\android\app\build\outputs\apk\debug\app_debug.apk

like image 41
Vinod Gehlot Avatar answered Oct 30 '25 00:10

Vinod Gehlot



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!