Skip to content

Two errors, No class and Unable to decode #5

@gizmocodes

Description

@gizmocodes

So I'm trying to mod an app, and when decompiling it I get these two errors:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\mcgiz\Desktop\APK\.\jd-intellij\src\main\native\nativelib\win32\x86_64\libjd-intellij.dll
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.jd.util.NativeUtils.loadLibraryFromJar(NativeUtils.java:73)
        at jd.ide.intellij.JavaDecompiler.<clinit>(JavaDecompiler.java:9)
        at jd.core.Decompiler.<init>(Decompiler.java:17)
        at jd.core.Main.main(Main.java:16)

So this seems to be missing an IntelliJ library, and after installing IntelliJ it still persists.
And the other error:

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
        at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
        at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
        at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
        at brut.androlib.Androlib.getResTable(Androlib.java:50)
        at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
        at brut.apktool.Main.cmdDecode(Main.java:146)
        at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
        at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
        at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
        at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
        at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
        ... 8 more

Here it seems it couldn't decode something, not sure what however.
Only argument on the command is -p; problem persists even if removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions