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

已提問 3 年前檢視次數 685 次
1 個回答
0
已接受的答案

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
已回答 2 年前

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

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

回答問題指南