Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1259306118.tmp/base.apk: META-INF/CERT.SF has invalid digest for javax/annotation/meta/Exclusive.java in /data/app/vmdl1259306118.tmp/base.apk]'; Code: '1'
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
Description
Hello!
While trying to run a test on Appium server I got this error:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1259306118.tmp/base.apk: META-INF/CERT.SF has invalid digest for javax/annotation/meta/Exclusive.java in /data/app/vmdl1259306118.tmp/base.apk]'; Code: '1'
It has something to do with the signature of
Environment
- JDK 11.0.6
- Appium server 1.17.0 downloaded via npm
- Desktop OS/version Windows
- Node.js version 12.16.1
- Mobile platform/version under test: Android
- Real device or emulator/simulator: Real Device
Details
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1259306118.tmp/base.apk: META-INF/CERT.SF has invalid digest for javax/annotation/meta/Exclusive.java in /data/app/vmdl1259306118.tmp/base.apk]'; Code: '1' error encoutnered while trying to launch my test.
Wokraround:
I uninstalled appium npm uninstall-g appium and then installed de 1.11 version: npm install -g appium@1.11
After that I uninstalled the Appium Setting and Ui.Automator apps from my Android device.
Started again the appium server. Worked like a charm.
Wanted to post this because I was struggling the whole day with this issue but couldn't find any solution anywhere. Hope this will be helpful for some of you that might encounter the same issue
Also had caps.setCapability("noSign", "true"); in my java code
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named. Start by reviewing the Appium server launch and Android app-install behavior using the listed JDK, Node.js, Appium, Windows, and real-device versions. Compare it with the reported Appium 1.11 workaround; done would require a reproducible diagnosis and a clearly identified repository change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100