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
已提問 2 年前檢視次數 2521 次
1 個回答
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南