asolfre / dex2jar

Automatically exported from code.google.com/p/dex2jar
1 stars 0 forks source link

convert dex failed with com.googlecode.dex2jar.DexException #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
dex2jar out.dex -> out-dex2jar.jar
com.googlecode.dex2jar.DexException: while accept method:[Lcom/google/common/bas
e/Equivalence$EquivalentToPredicate;.<init>(Lcom/google/common/base/Equivalence;
Ljava/lang/Object;)V]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:694)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:436)
        at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:323)
        at com.googlecode.dex2jar.v3.Dex2jar.doTranslate(Dex2jar.java:85)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:261)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:252)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:110)
        at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:174)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34)
Caused by: com.googlecode.dex2jar.DexException: while accept parameter 
annotation in 
method:[Lcom/google/common/base/Equivalence$EquivalentToPredicate;.<init>(Lcom/g
oogle/common/base/Equivalence;Ljava/lang/Object;)V], parameter:[0]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:663)
        ... 8 more
Caused by: java.lang.IllegalArgumentException: Id out of bound
        at com.googlecode.dex2jar.reader.DexFileReader.getType(DexFileReader.java:556)
        at com.googlecode.dex2jar.reader.DexAnnotationReader.accept(DexAnnotationReader.java:51)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:660)
        ... 8 more

Original issue reported on code.google.com by Squall...@gmail.com on 31 Jan 2014 at 2:44

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
For myself, this issue was fixed by 
https://code.google.com/p/dex2jar/source/detail?r=f34be004b509406617ea042e5514fd
a11534dafb&name=0.0.9.x

The 0.0.9.x branch successfully created the jar file.

Original comment by zachary....@gmail.com on 29 Jul 2014 at 3:32