環境:mac10.15.6
安裝homebrew時報錯
具體錯誤:
no developer tools were found at ‘/Applications/Xcode.app’, requesting install.
Choose an option in the dialog to download the command line developer tools.
報錯原因:mac沒有裝xcode,xcode居然有11個G
解決方法:其實不需要下xcode,只需要下一個xcode的管理工具(個人理解),而且只有不到800M(親測有效)
下載地址:https://developer.apple.com/download/more/
再次執行安裝命令就可以了
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
完成~
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/232481.html
標籤:其他
上一篇:Android事件分發機制小結
下一篇:Android標題欄添加回傳按鈕
