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

error unpacking APK #129

Open
zitkon opened this issue Sep 18, 2023 · 1 comment
Open

error unpacking APK #129

zitkon opened this issue Sep 18, 2023 · 1 comment

Comments

@zitkon
Copy link

zitkon commented Sep 18, 2023

im using linux, this is error notice:
I: Using Apktool 2.7.0 on HARLEYMOD KR 64BIT VIP.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:294)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:96)
at brut.apktool.Main.cmdDecode(Main.java:175)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)
at brut.directory.ExtFile.getDirectory(ExtFile.java:49)
at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:292)
... 3 more
Caused by: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1736)
at java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1254)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1701)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1430)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1393)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:742)
at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
at java.base/java.util.zip.ZipFile.(ZipFile.java:257)
at java.base/java.util.zip.ZipFile.(ZipFile.java:186)
at java.base/java.util.zip.ZipFile.(ZipFile.java:200)
at brut.directory.ZipRODirectory.(ZipRODirectory.java:53)
... 6 more

thanks DEV

@ClarkKeyton
Copy link

ClarkKeyton commented Sep 22, 2023

ZipException: Invalid CEN header - It's Because APK is Obfuscated!!!

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