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

feita há 3 anos686 visualizações
1 Resposta
0
Resposta aceita

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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas