INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package

0

We keep getting this error when attempting to test an APK using Device farm. INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package I have verified JAVA_HOME is set correctly. ARN Number: arn:aws:devicefarm:us-west-2:493117667654:run:1d7e24d1-6e47-4755-8479-df5807e27cf7/1b27c8f1-70c7-4f82-8128-376ed0255547

Rupert
asked 2 years ago2488 views
1 Answer
0

Thanks for reaching out. For AWS Device Farm, we do require that your APK be signed by a V2 or higher signature version when testing on Android OS 11 or higher. For more information, please see the Android documentation here https://developer.android.com/about/versions/11/behavior-changes-11#minimum-signature-scheme

If you are still seeing this issue after signing your app via the V2 signature scheme, then it may be the case that you're using a tool like DexGuard which obfuscates certain APK metadata. Apps which have their Android Manifest file obfuscated in any way are incompatible with Device Farm's app resigning procedure. Thus, in order to test on Device Farm, you will need to skip the resigning process for your app. This can be done using private devices as described here: https://docs.aws.amazon.com/devicefarm/latest/developerguide/skip-app-re-signing-on-private-devices.html

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions