My Android Phone requires release apps to be signed

When I try to install an unsigned release app

adb install android-build-release-unsigned.apk

I get

Performing Streamed Install
adb: failed to install android-build-release-unsigned.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl827870317.tmp/base.apk: Attempt to get length of null array]

And switching this off does not help:

But debug apps install successfully:

C:\…t\build\Android_Qt_6_7_2_arm64_v8a_Debug_Clang_arm64_v8a-Debug\android-build\build\outputs\apk\debug>adb install android-build-debug.apk
Performing Streamed Install
Success

Leave a Reply

Your email address will not be published. Required fields are marked *