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.