mac环境:
apktool官网下载地址:https://ibotpeaches.github.io/Apktool/install/
1.下载 apktool.jar (名字中带有版本信息)重命名为 apktool.jar
2.编写一个apktool.sh文件。参考:https://download.youkuaiyun.com/download/darkfallyou/10966322
3.将两个文件移动到 /usr/local/bin
4.打卡文件管理系统按 command + shift + g 键,最后将文件保存在 /bin 文件夹下面
5.确保两个文件都是可执行的(chmod +x)
chmod +x apktool.jar
chmod +x apktool.sh
6.测试 apktool 命令
在中端输入apktool.sh
注意:如果不成功
在中端输入open -e .bash_profile,编辑添加
PATH=$PATH:/usr/local/bin
export PATH
关闭自动保存,输入source .bash_profile更新

2674

被折叠的 条评论
为什么被折叠?



