如何将Vdex 文件转成 dex,有时我们需要逆向应用查看代码,又苦于反编译出来看不到真实的源码,如下anestisb大神写的工具可以解决我们的问题。
https://github.com/anestisb/vdexExtractor
一般在Ubantu上编译,如果是windows电脑可以安装VM虚拟机,在虚拟机上安全Ubantu,安装好系统,下载代码,git clone https://github.com/anestisb/vdexExtractor.git
执行下./make.sh gcc,使用方法:
Vdex转成cdex
$ bin/vdexExtractor -i /tmp/BasicDreams.vdex -o /tmp --deps -f
cdex 格式转成dex 格式解决方案:
Strategy to convert CompactDex back to StandardDex