Mac下如何安装adb

The Android Debug Bridge (ADB) is a command-line tool that can be used to install, uninstall and debug apps, transfer files and access the device's shell.

测试必备神器

那么如何在mac下安装adb呢?最简单的办法就是通过homebrew

1.安装homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

这个过程稍微有点长,耐心等待一会,安装成功后如下显示:

2. 安装adb

brew cask install android-platform-tools

3.检查启动adb

adb devices
adb shell

 

上一篇:MacOS 10.15.x 最新安装 Cocoapods 教程及问题解决


下一篇:mac下高效安装 homebrew 及完美避坑姿势 (亲测有效)