当前位置:   article > 正文

【Appium踩坑】Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates

failure [install_parse_failed_no_certificates: failed to collect certificate
解决方法

1、手机设置开启未知来源
2、 设备重连成功后,再跑脚本试一下

adb kill-server
adb devices
  • 1
  • 2
详细报错信息
 Stderr: 'Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: 
 Failed to collect certificates from /data/app/vmdl2032509516.tmp/base.apk: 
 META-INF/CERT.SF has invalid digest for javax/annotation/meta/Exclusive.java 
 in /data/app/vmdl2032509516.tmp/base.apk]'; 
 Code: '1'
  • 1
  • 2
  • 3
  • 4
  • 5
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/161608
推荐阅读
相关标签
  

闽ICP备14008679号