dinosu / dex2jar

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

can't dex my classes.dex file #235

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

when i use dex2jar to dex classes.dex i get that.
who can help me 
pls email ainilaomei@hotmail.com 

com.googlecode.dex2jar.DexException: while accept 
method:[Lcom/facebook_ctf/challenge/MainActivity;.author(Ljava/lang/String;)Ljav
a/lang/String;]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:694)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:441)
        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:[Lcom/facebook_ctf/challenge/MainActivity;.author(Ljava/lang/String;)Ljav
a/lang/String;]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:684)
        ... 8 more
Caused by: java.lang.IllegalArgumentException: Id out of bound
        at com.googlecode.dex2jar.reader.DexFileReader.getField(DexFileReader.java:454)
        at com.googlecode.dex2jar.reader.DexOpcodeAdapter.x2c(DexOpcodeAdapter.java:394)
        at com.googlecode.dex2jar.reader.DexCodeReader.acceptInsn(DexCodeReader.java:457)
        at com.googlecode.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:337)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:682)
        ... 8 more

Original issue reported on code.google.com by laughing...@gmail.com on 24 Nov 2014 at 4:04

Attachments:

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
https://sourceforge.net/projects/dex2jar/files/

============

this dex file contains invalid dex instruction. probably it is Self-modifying 
code, 
so, please unpack the code first. here are 2 methods:

https://github.com/BaiduSecurityLabs/ZjDroid
https://github.com/strazzere/android-unpacker

Original comment by qq...@163.com on 25 Nov 2014 at 2:05

GoogleCodeExporter commented 9 years ago
Ok thanks a lot 

Original comment by laughing...@gmail.com on 25 Nov 2014 at 2:10