Android: No signature found in package of version 2 or newer
-
Trying to deploy to Android, but I get the following compile error: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package xyz.
Can't find any workaround, even though I'm upadted with the lates Qt Creator. Working with Qt 5.15.2.
Any ideas?
-
Why are you working with a long outdated Qt version?
Please try 6.7. -
That's actually independent from Qt version used. Android now requires a signed certificate for remote deployment. Previously you only needed that for deployment in the playstore, but that changed a while ago.
I'm not sure if all builds require it, but release builds for sure!
@adddeeee in Qt creator, click on project, in the section Build Steps expand the entry Build android APK
First entry there should be Application Signature. If you already have a key, link it there and enter your password. If not click on create and follow the steps.