欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Mac下如何安装adb

程序员文章站 2022-07-03 20:07:49
...

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)"

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

Mac下如何安装adb

2. 安装adb

brew cask install android-platform-tools

Mac下如何安装adb 

3.检查启动adb

adb devices
adb shell

Mac下如何安装adb 

Mac下如何安装adb