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

解决方法

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

adb kill-server
adb devices
详细报错信息
 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'
©️2020 CSDN 皮肤主题: 游动-白 设计师:上身试试 返回首页