Tencent / VasDolly

Android V1 and V2 Signature Channel Package Plugin
Other
3.08k stars 388 forks source link

加固后使用build-tool/28.0.3/apksinger签名后重新生成渠道包在anroid9上安装失败 #65

Closed godisnoone closed 5 years ago

godisnoone commented 5 years ago

加固后使用build-tool/28.0.3/apksinger签名后重新生成渠道包在anroid9上安装失败,报错信息如下: adb: failed to install /Users/one/Android/app/build/rebuildChannel/release/app.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl411273963.tmp/base.apk using APK Signature Scheme v3: Size of APK Signing Block is not a multiple of 4096: 4112]

mayqlzu commented 5 years ago

我也遇到了,求解!

mayqlzu commented 5 years ago

我发现用build-tools/27.0.3/apksigner签名出来再添加渠道的包,能在9.0正常安装,所以至少和apksigner版本有关;

yxyaxng commented 5 years ago

我也遇到了,有什么好的解决办法吗

mayqlzu commented 5 years ago

用更低版本的签名工具,例如 build-tools/27.0.3/apksigner;

yxyaxng notifications@github.com 于2019年1月4日周五 上午9:52写道:

我也遇到了,有什么好的解决办法吗 @tencent-adm https://github.com/tencent-adm

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Tencent/VasDolly/issues/65#issuecomment-451333985, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvqYY4-ECaYtBu6mbJvq1gq3rhNvmJ8ks5u_rPIgaJpZM4ZPB8- .

ltlovezh commented 5 years ago

请使用V2.0.2版本