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

asked 2 years ago678 views
1 Answer
0
Accepted Answer

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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions