linux - 安卓 反编译工具 apktool : apk -> smali

访问量: 54

这篇文章很有意思: https://www.jianshu.com/p/9a052b4f0656 写了从解压到重新编译的过程.

Linux:
Download Linux wrapper script (Right click, Save Link As apktool)
Download apktool-2 (find newest here)
Rename downloaded jar to apktool.jar
Move both files (apktool.jar & apktool) to /usr/local/bin (root needed)
Make sure both files are executable (chmod +x)
Try running apktool via cli

apktool d xx.apk 

就可以了.

重新打包: apktool b xx (xx是 上面的反编译命令 运行之后得到的文件夹)  

这样得到的smali 代码,一般是不可读的. 目前仅用于反编译,做一点点修改,然后重新打包. 

订阅/RSS Feed

Subscribe

分类/category