Use of ANDROID-ADB

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.