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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章