通过 Homebrew 安装 brew cask install android-platform-tools 测试是否安装成功 adb devices 需要提前先安装 Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"