packer-ng-plugin
packer-ng-plugin copied to clipboard
使用脚本进行V2签名验证显示成功,但是安装app时报错
D:\MyConfiguration\签名>java -jar packer-ng-2.0.1.jar verify build\app-release-123456.apk ========== APK Verify ========== File: app-release-123456.apk Signed: true Channel: 123456
D:\MyConfiguration\签名>adb install build\app-release-123456.apk Performing Streamed Install adb: failed to install build\app-release-123456.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl35742925.tmp/base.apk using APK Signature Scheme v2: Size of APK Signing Block is not a multiple of 4096: 12343]
ref: https://github.com/Meituan-Dianping/walle/pull/259 使用版本低于28.0.x的apksigner进行签名试试
@mcxiaoke 我们参考walle这部分代码修改了一下,貌似没有问题了
@AWarmHug 有packer-ng改过的版本吗?