mac使用apktool打包回apk

mac2022-06-30  22

升级最新版的apktool

下载目录:https://ibotpeaches.github.io/Apktool/install/.

权限修改

将上述的文件放在usr/local/bin目录下并执行

chmod +x apktool.jar

删除1.apk

进入apktool.jar的所在目录,也就是usr/local/bin 执行下面语句

java -jar apktool.jar empty-framework-dir

看到

I: Removing 1.apk framework file...

开始打包

然后重新打包。到需要打包的apk的目录

执行

apktool.sh b login

输出

I: Using Apktool 2.4.0 I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building resources... I: Building apk file... I: Copying unknown files/dir... I: Built apk...

即可。

转载于:https://www.cnblogs.com/c-x-a/p/10660670.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)