sky201503 / android-apktool2

Automatically exported from code.google.com/p/android-apktool
0 stars 0 forks source link

Occur ExceptionWithContext when decompiling gReader #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.decompile gReader v2.4.2

What is the expected output? What do you see instead?

I: Baksmaling...
Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: This dex fil
e has a link section, which is not supported
        at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
        at org.jf.dexlib.Item.addExceptionContext(Item.java:176)
        at org.jf.dexlib.Item.readFrom(Item.java:78)
        at org.jf.dexlib.DexFile.<init>(DexFile.java:390)
        at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
        at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
        at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
        at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
        at brut.apktool.Main.cmdDecode(Main.java:120)
        at brut.apktool.Main.main(Main.java:57)
Caused by: java.lang.RuntimeException: This dex file has a link section, which i
s not supported
        at org.jf.dexlib.HeaderItem.readItem(HeaderItem.java:84)
        at org.jf.dexlib.Item.readFrom(Item.java:76)
        ... 8 more
header_item

What version of the product are you using? On what operating system?

1.Apktool v1.4.2.269870B
2.Win 7 Home
3.JDK v1.7.0

Original issue reported on code.google.com by xcc...@gmail.com on 18 Sep 2011 at 12:23

Attachments:

GoogleCodeExporter commented 9 years ago
Any news on this problem?

Original comment by georgi.t...@googlemail.com on 5 Oct 2011 at 3:13

GoogleCodeExporter commented 9 years ago
Works fine in v1.5.1, because I updated smali :)

Original comment by connor.tumbleson on 29 Dec 2012 at 2:42