Mac OS最简方式安装adb

如果你的Mac还没安装Homebrew, 先安装Homebrew,Homebrew是Mac上非常优秀的软件包管理工具。

拥有安装、卸载、更新、查看、搜索等很多实用的功能。

推荐国内的一键安装脚本,该脚本会自动设置国内源:

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

   

然后安装android-platform-tools:

brew cask install android-platform-tools

测试是否正常安装

adb devices

  

如果需要查看安装的位置

brew cask info android-sdk

  

 
原文地址:https://www.cnblogs.com/NetKillWill/p/mac_adb.html