apktool 解包和打包問題

2021-08-02 11:44:31 字數 569 閱讀 5435

用android studio 2.2 開發程式,目標sdk為25,然後用apktool 2.0.1解包,再打包上發現出錯,提示各種 

error: error: no resource found that matches the given name:

還有類似這種錯誤:error

retrieving parent

foritem:no

resource found that matches the given name

'@*android:style/theme.holo.light.darkactionbar'

.後來估計是api版本的問題,換用了2.2.1的apktool,發現沒有上述錯誤,但是出現了下面的錯誤

exception in thread "main" brut.androlib.androlibexception: brut.androlib.androlibexception: brut.common.brutexception:

後來發現是框架apk不符合的原因,刪除了c:\\users\apktool\1.apk,再解包時系統會使用新版的框架應用

ZIP打包解包

linux zip命令的基本用法是 zip 引數 打包後的檔名 打包的目錄路徑 linux zip命令引數列表 a 將檔案轉成ascii模式 f 嘗試修復損壞的壓縮檔案 h 顯示幫助介面 m 將檔案壓縮之後,刪除原始檔 n 特定字串 不壓縮具有特定字尾字串的檔案 o 將壓縮檔案內的所有檔案的最新變動...

ZIP打包解包

linux zip命令的基本用法是 zip 引數 打包後的檔名 打包的目錄路徑 linux zip命令引數列表 a 將檔案轉成ascii模式 f 嘗試修復損壞的壓縮檔案 h 顯示幫助介面 m 將檔案壓縮之後,刪除原始檔 n 特定字串 不壓縮具有特定字尾字串的檔案 o 將壓縮檔案內的所有檔案的最新變動...

linux tar 打包解包命令

範例一 將整個 etc 目錄下的檔案全部打包成為 tmp etc.tar root linux tar cvf tmp etc.tar etc 僅打包,不壓縮!root linux tar zcvf tmp etc.tar.gz etc 打包後,以 gzip 壓縮 root linux tar jc...