Skip to content

ZipException: invalid compression method #526

Open
@karim693

Description

@karim693

I'm encountering the following error when trying to open a resource (APK/JAR file) in Bytecode Viewer. The application crashes with a ZipException error:

css
Copy code
java.util.zip.ZipException: invalid compression method
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at the.bytecode.club.bytecodeviewer.util.MiscUtils.getBytes(MiscUtils.java:402)
at the.bytecode.club.bytecodeviewer.util.JarUtils.loadResources(JarUtils.java:257)
at the.bytecode.club.bytecodeviewer.resources.importing.impl.APKResourceImporter.open(APKResourceImporter.java:56)
at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.importKnownFile(ImportResource.java:91)
at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.run(ImportResource.java:63)
at java.lang.Thread.run(Unknown Source).
Version: Bytecode Viewer 2.13.0 [Fat Jar]
OS: Windows 10
Java Version: 1.8.0_431

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions