ADB Tool Learning

Source: Internet
Author: User

ADB (Android Debug Bridge) Brief introduction:

1. ADB is a tool in the Android SDK. With ADB, you can operate Android devices or simulators on your PC

2, the main functions are:

    1. Install the local APK program to an Android device or emulator and uninstall the installed APK program.
    2. Upload/download files between Android or Emulator and PC.
    3. The shell that runs the device.

3. ADB adopts "client-server" mode.

The client is the development machine

The server is also on the development machine

Daemon running on an Android device

4. Common commands

 1. ADB starts and shuts down the local server

#adb Start-server

  2. Stop Server

#adb Kill-server

 3. List Connected devices

#adb devices

  4. Enter the remote Android device Shell and exit

#adb Shell#exit

  5. Run its shell without entering the remote Android shell

#adb shell command such as: adb shell ls

6. Display Remote Android device log

#adb Logcat

  7. Install APK and uninstall software

#adb Install xxxxxx.apk#adb Uninstall Packet

8. Transferring files

#adb Push < local file >  < remote file >#adb Pull < remote file >  < local file >

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.