daklim / dex2jar

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

Convert classes.dex failed #236

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unzipping the APK
2. Run the command d2j-dex2jar.sh -v -d -f classes.dex

It doen't decompile correctly the dex file.

I'm using the version 0.0.9.15

This is the shell output:

dex2jar classes.dex -> classes-dex2jar.jar
Processing Lё;
com.googlecode.dex2jar.DexException: while accept method:[Lё;.<init>()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 code in 
method:[Lё;.<init>()V]
    at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:684)
    ... 8 more
Caused by: java.lang.RuntimeException: opcode format for 121 not found!
    at com.googlecode.dex2jar.reader.OpcodeFormat.get(OpcodeFormat.java:362)
    at com.googlecode.dex2jar.reader.DexCodeReader.findLabels(DexCodeReader.java:88)
    at com.googlecode.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:332)
    at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:682)
    ... 8 more

Original issue reported on code.google.com by maxxx...@gmail.com on 26 Nov 2014 at 6:48

GoogleCodeExporter commented 9 years ago
Hi, i am the owner the project, my account pxb1988 is banned for 3+ months. and 
seams it is not possible to recover.
https://groups.google.com/forum/#!topic/google-code-hosting/qEt4ZpCmn7k

we are moving dex2jar to SourceForge and Bitbucket.

https://sourceforge.net/p/dex2jar
https://bitbucket.org/pxb1988/dex2jar

the new dex2jar-2.x is out, it can be downloaded here, Please have a try.
https://sourceforge.net/projects/dex2jar/files/

if the issue still occur, please send email to dex2jar@googlegroups.com whith 
the dex or apk attached.

Original comment by qq...@163.com on 27 Nov 2014 at 2:13

GoogleCodeExporter commented 9 years ago
Downloaded the newer version and it works! Thanks

Original comment by maxxx...@gmail.com on 27 Nov 2014 at 9:37