i need you help me for the problem

2,382 views
Skip to first unread message

xiao...@ramos.com.cn

unread,
Aug 23, 2015, 10:38:59 PM8/23/15
to dex2jar
e:\ramos-work\log\launcher\dex2jar\dex2jar-2.0>d2j-dex2jar.bat classes.dex
dex2jar classes.dex -> .\classes-dex2jar.jar
Detail Error Information in File .\classes-error.zip
Please report this file to http://code.google.com/p/dex2jar/issues/entry if poss
ible.

e:\ramos-work\log\launcher\dex2jar\dex2jar-2.0>



classes-error.zip

Bob Pan

unread,
Aug 23, 2015, 10:52:17 PM8/23/15
to dex...@googlegroups.com
this is an known bug of dex2jar, please refer here. 


the problem is caused by strict type calculation, because in java syntaxt, a boolean can not assign to an inteager. so dex2jar forbid merge type Z and I. It is simple to fix
  • modify the dex by hand and add the following code after move-result v1
if-eqz v1, :LZERO
const v1, 1
goto :Lend
:LZERO
const v1, 0
:Lend
  • OR modify the dex2jar code. return Type I when merge I and Z at com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)





--
You received this message because you are subscribed to the Google Groups "dex2jar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dex2jar+u...@googlegroups.com.
To post to this group, send email to dex...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages