Problem release installation Ionic Invalidate Certificate

Hey all,

I have a problem trying to run the following command :
ionic cordova run android --release --prod

The Apk is generated, but during the installation to my device, it fails with this Error :

Failed to install platforms/android/build/outputs/apk/android-release-unsigned.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Package /data/app/vmdl387174112.tmp/base.apk has no certificates at entry AndroidManifest.xml]

Does anyone already encountered this problem ?

Thank you by advance !
Rémi

Well, after having signed my apk, I can install it. Maybe you can’t install a release app when it is unsigned.

1 Like

Yep, that’s part of the release idea :wink:

Same here. But the irony is I did manage to deploy directly to the phone before signing the apk. Quite confusing with the catch 22 situation.