Android的apk反編譯工具jadx-gui安裝使用介紹

主角登場(chǎng)-安裝

jadx軟件 form github開(kāi)源庫(kù)https://github.com/skylot/jadx

我們按照開(kāi)源庫(kù)中指示打開(kāi)Mac終端操作命令安裝jadx: brew install jadx
期間可能會(huì)有如下安裝問(wèn)題,我們一步步來(lái)解決:


1、Mac終端出現(xiàn):Error:brew command not found問(wèn)題解決方法

錯(cuò)誤提示:zsh: command not found: brew

解決方法:mac 安裝homebrew,

用以下命令安裝,序列號(hào)選擇中科大(1)的

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

一步步按著來(lái)就成?。?!


2、Mac終端出現(xiàn):Error: Your CLT does not support macOS 11.0. 1.00

最近系統(tǒng)升級(jí)到macOS Big Sur(11.0.1)之后,系統(tǒng)報(bào)告如下錯(cuò)誤:

Error: Your CLT does not support macOS 11.0. It is either outdated or was modified. Please update your CLT or delete it if no updates are available. Error: An exception occurred within a child process: SystemExit: exit

解決方案如下:

$ sudo rm -rf /Library/Developer/CommandLineTools

$ sudo xcode-select --install

這一步時(shí)間比較長(zhǎng),之后重新brew install jadx所有問(wèn)題如期解決?。?!


運(yùn)行jadx完成反編譯

到這里我們的jadx反編譯軟件安裝操作就完成了,接下來(lái)運(yùn)行試試,怎么運(yùn)行?

Command + space空格鍵,搜索jadx打開(kāi)就OK了,打開(kāi)后我們選擇要反編譯的apk文件

之后就出現(xiàn)了如下界面:

能看到apk的源代碼,表明反編譯完成!以后copy代碼就方便多了,哈哈哈~


另一種安裝實(shí)現(xiàn)方式:

  • mac環(huán)境中,下載官方git項(xiàng)目,切到j(luò)adx下,執(zhí)行g(shù)radlew腳本,安裝jadx-gui。
// java-jdk-8需要做如下操作,執(zhí)行jadx包下的gradlew腳本
git clone https://github.com/skylot/jadx.git  
cd jadx  
./gradlew dist 

出現(xiàn)BUILD SUCCESSFUL表明安裝成功,在搜索框中打開(kāi)jadx或者jadx-gui即可選擇apk進(jìn)行反編譯了~


Tips

如果你的mac系統(tǒng)版本是12,可能會(huì)在方式1的時(shí)候遇到下面的問(wèn)題:

We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.

這時(shí)候就需要使用方式2進(jìn)行安裝了。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容