First, what is the ADB?
1.ADB Full name Android Debug Bridge, a tool in the Android SDK that allows you to manipulate the Android emulator or the real andriod device directly
2.ADB is a "client-server Side" program
Client refers to a computer
Server-side refers to Android devices
Ii. what are the functions of the ADB?
1. Shell running the device (command line)
2. Upload/download files between computer and device
3. Install the local APK software to the simulator or Android device
Iii. Some common directives of the ADB
1. View device ADB devices
2. Install the software adb install <apk file path >
3. Uninstall software adb uninstall < software name >ADB uninstall-k < software name > If you add the-K parameter to uninstall the software but keep the configuration and cache files.
4. Send files from PC to device ADB push < Local path > < remote path >
Note: Require permission to be set to readable writable instruction ADB remount
5.ADB remount Turn phone write mode back on (brush mode). ADB push "E:\local.prop"/data/backup
ADB push E:\screenshot1.png/data/backup
The ADB rebootpush command can copy files or folders on the computer to the device (mobile)
6. Login Device shelladb shelladb Shell <command Command > This command will log on to the device's shell. The <command command in the back will be to run the device command directly, which is equivalent to executing the remote command
Use of ANDROID-ADB