INSTALL_PARSE_FAILED_NO_CERTIFICATES error on Android device

0

Hello,
We're getting INSTALL_PARSE_FAILED_NO_CERTIFICATES error when we launch a test run with our AndroidSDK-30 app through the device farm. The error occur during the Setup phase no matter which kind of Android devices we select:
Failed to install com.** - INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package com.**

Any idea of what we could be doing wrong?

For info, we don't have any issues to install the apk on our own devices.

Thanks,
Martin

posta 3 anni fa686 visualizzazioni
1 Risposta
0
Risposta accettata

Hi Martin,
Thanks for reaching out. Can you let us know a job ARN for which this issue occurred? From there, we can try to pinpoint the root cause.

In the past, we've seen this issue with apps where the Manifest file is malformatted. You can check the formatting of yours via running the following in the terminal using the Android build tools:

[code]

Ensure their JAVA_HOME is set

echo $JAVA_HOME

Otherwise, set it with the command

export JAVA_HOME=/usr/libexec/java_home -v 1.8 && echo $JAVA_HOME

apkanalyzer -h manifest target-sdk app.apk
[/code]

Thanks,
Jon

AWS
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande