old link
dex2jar syntax
sh d2j-dex2jar.sh -f ~/path/to/apk_to_decompile.apk
apk
to jar
.want dex
to jar
dex
file (eg. using FDex2
dump from a running android apk/app), then you can:sh d2j-dex2jar.sh -f ~/path/to/dex_to_decompile.dex
jar
from dex
./xxx/dex-tools-2.1-SNAPSHOT/d2j-dex2jar.sh -f com.huili.readingclub8825612.dex
dex2jar com.huili.readingclub8825612.dex -> ./com.huili.readingclub8825612-dex2jar.jar
want jar
to java src
jar
to java sourcecode
, then you, have multiple choice:
Jadx
directly convert dex
to java sourcecode
dex
to jar, second convert
jarto
java sourcecode`d2j-dex2jar.sh
?download from dex2jar github release, got dex-tools-2.1-SNAPSHOT.zip, unzip then got
d2j-dex2jar.sh
d2j-dex2jar.bat
d2j-jar2dex.sh
d2j-dex2smali.sh
d2j-baksmali.sh
d2j-apk-sign.sh
dex
to java sourcecode
?you can refer my (crifan)'s full answer in another post: android - decompiling DEX into Java sourcecode - Stack Overflow
or refer my full tutorial (but written in Chinese): ??????????