Linux下Apktool本地安装及使用教程
2017-07-07 17:13
337 查看
1.Download Linux wrapper script (apktool文本链接; 复制链接页面的所有内容,粘贴进文本,并另存为:apktool)
2.Download apktool-2 (apktool-2下载链接)
3.Make sure you have the 32bit libraries (ia32-libs) downloaded and installed by your linux package manager, if you are on a 64bit unix system.
4.(This helps provide support for the 32bit native binary aapt, which is required by apktool)
5.Rename downloaded jar to apktool.jar
6.Move both files (apktool.jar & apktool) to /usr/local/bin (root needed)
7.Make sure both files are executable (chmod +x)
sudo chmod +x apktool
sudo chmod +x apktool.jar
8.Try running apktool via cli
9、反编译apk
apktool d test.apk //它会自动生成test目录的反编译目录 (ps: d是decode反编译命令)
10、修改后回编译apk
apktool b test //在test下的dist目录生成打包好的test.apk
11、签名文件需要android源码里找:signapk.jar platform.x509.pem platform.pk8
java -jar signapk.jar platform.x509.pem platform.pk8 MyDemo.apk MyDemo_signed.apk
下载链接:打包文件
2.Download apktool-2 (apktool-2下载链接)
3.Make sure you have the 32bit libraries (ia32-libs) downloaded and installed by your linux package manager, if you are on a 64bit unix system.
4.(This helps provide support for the 32bit native binary aapt, which is required by apktool)
5.Rename downloaded jar to apktool.jar
6.Move both files (apktool.jar & apktool) to /usr/local/bin (root needed)
7.Make sure both files are executable (chmod +x)
sudo chmod +x apktool
sudo chmod +x apktool.jar
8.Try running apktool via cli
9、反编译apk
apktool d test.apk //它会自动生成test目录的反编译目录 (ps: d是decode反编译命令)
10、修改后回编译apk
apktool b test //在test下的dist目录生成打包好的test.apk
11、签名文件需要android源码里找:signapk.jar platform.x509.pem platform.pk8
java -jar signapk.jar platform.x509.pem platform.pk8 MyDemo.apk MyDemo_signed.apk
下载链接:打包文件
相关文章推荐
- 腾讯Linux QQ安装、使用教程
- LSAT(Linux Security Auditing Tool) 本地安全扫描程序的安装及使用
- LINUX 安装MegaRAID Storage Manager (MSM)安装使用教程
- 完美图解教程 Linux环境VNC服务安装、配置与使用
- arm-linux-gcc安装使用教程
- Linux上安装7zip使用教程及zip中文文件名解压乱码解决方法。
- linux系统下,使用dd命令制作U盘安装系统教程
- Linux下CVS的安装、配置与使用(一):安装与本地使用
- Vmware使用技巧:“设置U盘、光盘启动、本地文件共享、安装Ghost版系统”图文教程
- Linux在本地使用yum安装软件
- 完美图解教程 Linux环境VNC服务安装、配置与使用
- 使用SecureCrt远程登录Linux安装配置教程
- Linux实时流量监控工具iftop安装及使用教程
- linux下yum使用本地光盘做为安装源
- ubuntu amd 64bit 安装 QQ for linux教程(附 不能使用中文的解决办法)
- 完美图解教程 Linux环境VNC服务安装、配置与使用 分类: B3_LINUX 2012-11-26 18:35 419人阅读 评论(0) 收藏
- 如何快速估计/估算Linux VPS的月流量使用情况(不用安装MRTG等流量监控软件) - LinuxVPS使用教程 - 国外/美国服务器租用
- arm-linux-gcc安装使用教程
- 关于VSFTP使用及FTP安装LINUX的教程
- 使用光盘配置RHEL LINUX 本地安装源