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
demandé il y a 2 ans2521 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions