Mac OS X下进行APK逆向

转载请注明原作者,如果你觉得这篇文章对你有帮助或启发,不用请我喝咖啡:D

1.安装apktool

http://ibotpeaches.github.io/Apktool/

  1. Download Mac wrapper script (Right click, Save Link As apktool)
  2. Download apktool-2 (find newest here)
    Rename downloaded jar to apktool.jar
  3. Move both files (apktool.jar& apktool) to /usr/local/bin (root needed)

P.S. Make sure both files are executable (chmod +x)

  1. Try running apktool via cli
  • cli:Command-Line Interface
  • 下载的apktool另存后,其实默认名字是apktool.txt,chomd +x apktool命令就无效,需要从Get Info界面中把.txt后缀移除。

2.apktool 用法

  • 反编译apk:apktool d[ecode] [opts] []
  • 编译apk:apktool b[uild] [opts] [] []

你可能感兴趣的:(Mac OS X下进行APK逆向)