Android debugging tool adb

Source: Internet
Author: User

Android debugging tool adb
Android debugging tool ADB

ADB Android Debug Bridge.
The ADB tool is located in the platform-tools subdirectory of the Android SDK installation directory.

Main functions:Run the shell (command line) of the device to manage the port ing of the simulator or device. Upload/download files between the computer and the device to install the local apk software to the simulator or android device. Common commands:Adb connect 192.168.1.103 adb devices adb remount adb install [-r] *. apk adb shell adb logcat Common Errors During network set-top box (OTT) Development:

1. During the development of the network set-top box (OTT), The OTT box cannot use the adb tool. You must enter the following command in the serial port:

setprop service.adb.tcp.port 5555start adbd

2. adb connect FAQs

 * daemon not running. starting it now on port 5037 *ADB server didn't ACK * failed to start daemon *error: cannot connect to daemon

Problem analysis: the port 5037 used by adb is occupied by other applications. Check and kill it.
Terminal input netstat-a-o 5037

Check which process tasklist/fi "pid eq 6520" is 6520"

Old System Version
INSTALL_FAILED_CONFLICTING_PROVIDER:A content provider with the same name exists.
INSTALL_FAILED_NEWER_SDK:System version newer
INSTALL_FAILED_TEST_ONLY:Test programs that the caller is not allowed to test
INSTALL_FAILED_CPU_ABI_INCOMPATIBLE:The local code contained is not compatible.
CPU_ABIINSTALL_FAILED_MISSING_FEATURE:An invalid feature is used.
INSTALL_FAILED_CONTAINER_ERROR SD:Card access failed
INSTALL_FAILED_INVALID_INSTALL_LOCATION:Invalid installation path
INSTALL_FAILED_MEDIA_UNAVAILABLE SD:Card does not exist
INSTALL_FAILED_INTERNAL_ERROR:System problems cause installation failure
DEFAULT:Unknown error

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.