-
Notifications
You must be signed in to change notification settings - Fork 12
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
Cannot handle apk file size > 2G #12
Comments
thanks for reporting! it looks like I missed that those fields are unsigned, and but sorry, I can't dive into this right now as I'm pretty swamped. I'll take a look next month. If anyone else wants to give it a shot in the meantime, feel free! :) |
@iyxan23 , thanks for your quick response! Are there any document I can refer for zip format, and if time available, I will try to fix it. By the way, does APK support zip64? If it also supports zip64, I think we should also consider it |
thanks for the helping hand, I really appreciate it! here are some of the sources I used: zipalign-java/src/main/java/com/iyxan23/zipalignjava/ZipAlign.java Lines 484 to 486 in ea2e0df
actually, that's the one thing that I have been wondering about whilst developing zipalign-java! I haven't implemented it yet, and I don't think there are APKs out there that uses zip64, looking at this stackoverflow question. And also, I've seen several phones that flat-out throws an error "zip64 not supported" when users tries to install a zip64 apk (but interestingly, they exist?) I'm honestly not sure whether or not zip64 should be implemented; if you wanted to do it, I'm all ears :) |
Seems the centralDirOffset is wrong if apk file size > 2G
The text was updated successfully, but these errors were encountered: