apktool使用過程當中遇到的錯誤

1. Destination directory (D:\dayly\apktool1.5.2\crackme0201) already exists. Use -f switch if you want to overwrite it.

說明crackme0201文件夾已經存在,刪除這個文件夾後問題就行了。 java

2. Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars c file

apktool的版本過低,致使反編譯時出錯。從 下載地址 下載最新的jar,好比如今最新的版本 apktool_2.0.3.jar以後,改名爲apktool.jar,從新執行反編譯就不會出錯了。 git

3. Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01010479

刪除文件夾C:\Users\用戶\apktool\framework下的內容,若是你使用的是XP系統且沒有在C盤下找到用戶目錄,那麼這個文件夾可能放置的位置: C:\Documents and Settings\%current user%\apktool\framework。 github

4.Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml spa

這極有多是由於你的路徑沒有寫對,好比我這裏使用b命令從新打包apk時就寫錯了,正確的寫法應當是apktool b showjava sign.apk, b命令後跟的是反編譯時獲得的文件夾,而後纔是須要獲得的apk的名稱。 code

相關文章
相關標籤/搜索