Android反编译工具Apktool使用

安装步骤如下:
1.首先安装需要JAVA环境,先下载JDK/JRE,点击下载,已经有JAVA环境的可跳过此步

2.到code.google上下载apktool.jar以及相关文件:http://code.google.com/p/android-apktool/downloads/list

如下所示:

  Filename  Summary + Labels  Uploaded  ReleaseDate  Size  DownloadCount  ...
apktool1.4.3.tar.bz2 apktool   Featured Dec 2011 Dec 2011 2.7 MB 387326  
apktool-install-windows-r04-brut1.tar.bz2 apktool dependencies and helper script for windows. THIS ISN'T APKTOOL ITSELF. READ PROJECT MAIN PAGE.   Featured May 2011 May 2011 1.6 MB 483346  
apktool-install-macosx-r04-brut1.tar.bz2 apktool dependencies and helper script for OSX environment   Featured May 2011 May 2011 380 KB 24144  
apktool-install-linux-r04-brut1.tar.bz2 apktool dependencies and helper script for linux environment   Featured May 2011 May 2011 1.3 MB 59869  


点击下载apktool1.4.3.tar.bz2 和apktool-install-windows-r04-brut1.tar.bz2

3.解压apktool-install-windows.zip到任意文件夹

  解压apktool.jar 到 apktool-install-windows文件夹下


4.点击开始菜单,运行,输入CMD回车,用cd命令转到刚刚解压apktool-install-windows所在的文件夹,输入apktool,出现一些命令说明即成功安装。

Apktool 命令
apktool d weather.apk test    反编译 weather.apk到文件夹test  (将weather.apk放到apktool-install-windows文件夹下)

apktool b weather              从文件夹weather重建APK,输出到ABC\dist\out.apk  [试了出不来, 待研究]


你可能感兴趣的:(Android反编译工具Apktool使用)