Apktool官网下载地址:https://ibotpeaches.github.io/Apktool/install/
windows的安装方法,https://ibotpeaches.github.io/Apktool/install/
使用:
(1)b,at和jar放到环境变量的目录里
(2)在cmd中,进入test.apk的目录,执行:apktool d test.apk
(3)资源文件目录:D:\alipay\assets\tts\0
$ apktool d test.apk
I: Using Apktool 2.4.0 on test.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: 1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
$ apktool b test
I: Using Apktool 2.4.0 on test
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
I: Copying unknown files/dir...