First, the meaning of the ADB
the full English name of ADB is Android Debug Bridge, which is Android debugging bridges; theadb executable is stored in the Android SDK, so you will need to download and install the Android SDK tool with the ADB command, and configure the environment variables for the Android SDK.
Ii. client and server interpretation of ADB
The client is running on our development machine, through the ADB command can invoke the client from the shell, other Android tools such as ADT plug-ins and Ddms can also create the ADB command client.
The server is a process that runs in the background of the development machine. The server manages the communication between the client and the ADB daemon (adb daemon) process running on the emulator or on the real device.
ADB Daemon is a daemon that runs in the background of an emulator or a real Android device.
Iii. commands commonly used by the ADB
1. ADB devices or ADB devices-l
The command is to see if there is a mobile device (a real machine or an emulator) in the connected state, and the list is displayed if it is in a connected state.
2. ADB Connect 127.0.0.1:62001
This command is used to connect to the real machine or emulator, and you can use the ADB Devices command to view devices in the connected state when the connection is successful.
Commands commonly used by DOS, ADB, and shell