ADB (Android Debug Bridge) Brief introduction:
1. ADB is a tool in the Android SDK. With ADB, you can operate Android devices or simulators on your PC
2, the main functions are:
- Install the local APK program to an Android device or emulator and uninstall the installed APK program.
- Upload/download files between Android or Emulator and PC.
- The shell that runs the device.
3. ADB adopts "client-server" mode.
The client is the development machine
The server is also on the development machine
Daemon running on an Android device
4. Common commands
1. ADB starts and shuts down the local server
#adb Start-server
2. Stop Server
#adb Kill-server
3. List Connected devices
#adb devices
4. Enter the remote Android device Shell and exit
#adb Shell#exit
5. Run its shell without entering the remote Android shell
#adb shell command such as: adb shell ls
6. Display Remote Android device log
#adb Logcat
7. Install APK and uninstall software
#adb Install xxxxxx.apk#adb Uninstall Packet
8. Transferring files
#adb Push < local file > < remote file >#adb Pull < remote file > < local file >