Android ADB Usage
The ADB full name is the Android Debug Bridge, which plays the role of debugging bridges. Used to manipulate Android devices.
Reading Table of Contents
- What's the use of ADB?
- ADB downloads
- ADB devices
- ADB install (Installation software)
- ADB uninstall (uninstall software)
- ADB shell (Login shell)
- ADB push (send files from computer to device)
- adb pull (download files to computer)
- ADB help (Show assistance)
What's the use of ADB?
With the ADB tools, we can manage the status of devices or phone simulators, and do a lot of phone operations, such as installing software, system upgrades, running shell commands, and so on, in short, the ADB is a bridge between the Android phone and the PC, Allows users to fully operate the phone on the computer
ADB downloads
The ADB tool exists in the SDK and can be downloaded separately, with the download address in Http://pan.baidu.com/s/1o8vjrPw
Configure environment variables after downloading
ADB devices
To view the currently connected device, the Android device or emulator that is connected to the computer will list the display
ADB install (Installation software)
This command installs the specified APK file on the device
ADB uninstall (uninstall software)
ADB uninstall < software name >
ADB uninstall-k < software name >
If you add the-k parameter, you uninstall the software but keep the configuration and cache files
ADB shell (Login shell)
This command will log in to the device's shell, followed by the device command, which is equivalent to executing a remote command
ADB push (send files from computer to device)
ADB Push < Local path > < remote path >
Use the push command to copy a file or folder from a (cell phone) to a native computer
adb pull (download files to computer)
ADB push < Remote path > < local path >
Use the pull command to copy files or folders on a device (cell phone) to a native computer
ADB help (Show assistance)
This command will display Help information
The above is to the Android ADB data collation, follow-up continue to supplement the relevant information, thank you for your support of this site!