Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在使用命令行打包的时候apk大小超过2G导致错误 #374

Open
PhoneBison opened this issue Feb 14, 2022 · 1 comment
Open

在使用命令行打包的时候apk大小超过2G导致错误 #374

PhoneBison opened this issue Feb 14, 2022 · 1 comment

Comments

@PhoneBison
Copy link

在使用命令行打包的时候apk大小超过2G导致错误,错误如下
PS C:\Users\Administrator\Desktop\my_jolo_work\V1V2兼容打包工具> java -jar walle-cli-all.jar put -c meituan unsign.apk
com.meituan.android.walle.SignatureNotFoundException: APK too small for APK Signing Block. ZIP Central Directory offset: -2147355221
at com.meituan.android.walle.ApkUtil.findApkSigningBlock(ApkUtil.java:143)
at com.meituan.android.walle.PayloadWriter.handleApkSigningBlock(PayloadWriter.java:164)
at com.meituan.android.walle.PayloadWriter.putAll(PayloadWriter.java:98)
at com.meituan.android.walle.PayloadWriter.put(PayloadWriter.java:75)
at com.meituan.android.walle.PayloadWriter.put(PayloadWriter.java:48)
at com.meituan.android.walle.ChannelWriter.putRaw(ChannelWriter.java:101)
at com.meituan.android.walle.ChannelWriter.put(ChannelWriter.java:76)
at com.meituan.android.walle.ChannelWriter.put(ChannelWriter.java:49)
at com.meituan.android.walle.commands.PutCommand.parse(PutCommand.java:51)
at com.meituan.android.walle.Main.main(Main.java:51)

@LBCross
Copy link

LBCross commented Nov 3, 2022

超过2GB的问题解决了吗?

xiaohongxiedaima added a commit to xiaohongxiedaima/walle that referenced this issue May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants