homebrew安装adb
时间: 2023-09-24 15:05:10 浏览: 132
要在终端中使用Homebrew安装adb,请按照以下步骤操作:
1. 首先,确保你已经在终端中安装了Homebrew。如果没有安装Homebrew,可以在终端中输入以下命令进行安装:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" [3]
2. 安装adb,可以在终端中输入以下命令:brew install android-platform-tools [1]
3. 如果在输入brew install android-platform-tools时出现了错误提示"zsh: command not found: brew",这可能是因为你的系统没有安装Homebrew。请确保你已经按照第1步的指示正确安装了Homebrew。如果仍然遇到问题,可以参考Homebrew的官方文档或者在终端中输入"brew help"来获取更多帮助信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Mac 下通过Homebrew安装ADB工具](https://blog.csdn.net/m0_64776928/article/details/125958510)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Mac安装adb环境(内附问题解决方案)](https://blog.csdn.net/QQ______/article/details/124178245)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文