-
Notifications
You must be signed in to change notification settings - Fork 72
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
Decompile Error - Invalid CEN header #13
Comments
Do you mind sharing the file "Truecaller mod.apk"? |
|
Same issue: iBotPeaches/Apktool#3198 Looks like it's an issue with JDK 20, JDK 11 didn't have this issue. |
thankyou so much dev , sp shall i wait for the update or can i implement this fix anyhow to get it working ? |
You can clone and modify the source if you want, but I will take care of adding custom arguments Or you can try to downgrade JDK to older version. I recommended JDK 17 (TLS) |
Thankyou so much for amazing tool il try your suggestions after i reach home and test and update to you here |
I have added option to use custom JVM arguments and added the arguments from the script. Just enable it in the settings Here is test build of APKToolGUI.exe Let me know if it works |
Prerequisites
Describe the bug
[16:47:09] Framework cache cleared
[16:47:09] Using Apktool 2.8.1 on Truecaller mod.apk
[16:47:09] Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.androlib.res.ResourcesDecoder.hasManifest(ResourcesDecoder.java:70)
[16:47:09] at brut.androlib.res.ResourcesDecoder.decodeManifest(ResourcesDecoder.java:102)
[16:47:09] at brut.androlib.ApkDecoder.decode(ApkDecoder.java:95)
[16:47:09] at brut.apktool.Main.cmdDecode(Main.java:190)
[16:47:09] at brut.apktool.Main.main(Main.java:93)
[16:47:09] Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)
[16:47:09] at brut.directory.ExtFile.getDirectory(ExtFile.java:49)
[16:47:09] =====[ Error ]=====
[16:47:09] Decompiling failed
[16:47:09] Time started: 16:47:09
[16:47:09] Time elapsed: 00:00
To Reproduce
reinstalled java and requirements but still same
Logs
[16:47:09] Framework cache cleared
[16:47:09] Using Apktool 2.8.1 on Truecaller mod.apk
[16:47:09] Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.androlib.res.ResourcesDecoder.hasManifest(ResourcesDecoder.java:70)
[16:47:09] at brut.androlib.res.ResourcesDecoder.decodeManifest(ResourcesDecoder.java:102)
[16:47:09] at brut.androlib.ApkDecoder.decode(ApkDecoder.java:95)
[16:47:09] at brut.apktool.Main.cmdDecode(Main.java:190)
[16:47:09] at brut.apktool.Main.main(Main.java:93)
[16:47:09] Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)
[16:47:09] at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)
[16:47:09] at brut.directory.ExtFile.getDirectory(ExtFile.java:49)
[16:47:09] =====[ Error ]=====
[16:47:09] Decompiling failed
[16:47:09] Time started: 16:47:09
[16:47:09] Time elapsed: 00:00
APK
No response
APK Tool GUI version
3.2.2
Apktool version
2.8.1
Java version
20.0.2
Operating System and version
Win11 22H2
The text was updated successfully, but these errors were encountered: