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...