Adb install and connect a Mac

installation

Mac install adb, the easiest way is to use homebrew,

  1. Install homebrew: ruby ​​-e "$ (curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. 安装adb:brew cask install android-platform-tools

connection

I am a network wireless connection, command (5555 is the default port):

adb connect 10.58.88.35:5555

Other connections can refer to: https://blog.csdn.net/c1063891514/article/details/79039384

End into the app with root privileges (shell)

  1. adb root
  2. adb remount 
  3. adb shell
  4. busybox vi etc/hosts

Common Commands

  1. adb devices
  2. ...

Or direct it to see the document, the portal

Published 75 original articles · won praise 48 · Views 350,000 +

Guess you like

Origin blog.csdn.net/KingJin_CSDN_/article/details/97274684