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

Two errors, No class and Unable to decode #5

Open
gizmocodes opened this issue Jan 15, 2016 · 0 comments
Open

Two errors, No class and Unable to decode #5

gizmocodes opened this issue Jan 15, 2016 · 0 comments

Comments

@gizmocodes
Copy link

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.

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

1 participant