Android adb detailed introduction and usage _android

Source: Internet
Author: User

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

    1. What's the use of ADB?
    2. ADB downloads
    3. ADB devices
    4. ADB install (Installation software)
    5. ADB uninstall (uninstall software)
    6. ADB shell (Login shell)
    7. ADB push (send files from computer to device)
    8. adb pull (download files to computer)
    9. 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!

Related Article

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.