Detailed introduction and usage of Android ADB
Android ADB usage
The full name of ADB is Android debug bridge, which plays the role of debugging bridge. Used to operate Android devices
Reading catalog
What's the use of ADB
With the help of the ADB tool, we can manage the status of the device or mobile phone simulator, and can also carry out many mobile phone operations, such as installing software, upgrading the system, running shell commands, etc. in fact, in short, ADB is a bridge between the Android mobile phone and the PC, which allows users to operate the mobile phone comprehensively on the computer
ADB Download
The ADB tool is stored in the SDK and can also be downloaded separately. The download address is http://pan.baidu.com/s/1o8vjrPw
Configure the environment variables after downloading
adb devices
View the currently connected devices, and the Android devices or emulators connected to the computer will be listed and displayed
ADB install
This command installs the specified APK file on the device
ADB uninstall
ADB uninstall < software name >
ADB uninstall - K < software name >
If the - k parameter is added, the software will be uninstalled, but the configuration and cache files will be retained
ADB shell (login shell)
This command will log into the shell of the device, followed by the direct run device command, which is equivalent to executing a remote command
ADB push (send files from the computer to the device)
ADB push < Local Path > < remote Path >
Use the push command to copy the files or folders on the (mobile phone) to the local computer
ADB pull (download file to computer)
ADB push < remote Path > < Local Path >
Use the pull command to copy the files or folders on the device (mobile phone) to the local computer
ADB help (display help information)
This command will display help information
The above is the sorting of Android ADB materials. We will continue to supplement relevant materials in the future. Thank you for your support to this site!