解决方法

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'
Logo

鸿蒙生态一站式服务平台。

更多推荐