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
gefragt vor 2 Jahren2522 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen