Since my latest update of the ionic cli (5.4.7), I am no longer able to a release of the code. Running
Ionic cordova build android –prod –release builds only a debug apk
gives med only the app-debug.apk package, saying:
BUILD SUCCESSFUL in 2s
44 actionable tasks: 3 executed, 41 up-to-date
Built the following apk(s):
/home/kasper/dev/TMNT/arbejd.com/arbejd-app/platforms/android/app/build/outputs/apk/debug/app-debug.apk
I've found a workaround, which is downgrading to 5.4.6 with npm install -g ionic@5.4.6
, which does give me an app-release.apk
, but I'd like a better solution.
(Workaround found here https://forum.ionicframework.com/t/ionic-cordova-build-android-prod-release-builds-only-a-debug-apk/178209)