ADB usage and problem solving on Ubuntu

Source: Internet
Author: User


ADB usage and problem solving on Ubuntu


The ADB package is extracted from the decompression version of Eclipse (ADB can be used independently from Eclipse or SDK and can be copied directly)

and made a Soft link under/sbin/(Employee PC has been done), $sudo ln–s/home/it/sdk/platform-tools/adb/sbin/, can execute which command to view: $ which adb

ADB version: 1.0.31 (Android 4.4.2 requires ADB version 1.0.29 above if ADB version is lower can be replaced)

After the ADB executes the kill, then start will generate the. Android directory (sudo before command execution)

$ sudo adb kill-server

$ sudo adb start-server

$ sudo ls/root/.android/(Adbkey and Adbkey.pub)

and then in /root/android/New Adb_usb.ini file, the file is written on the phone USB ID (can be viewed through LSUSB, such as: 0x1773)

If an employee Ubuntu cannot connect to the phone first to see if the file (Adb_usb.ini) exists, or if the file contents (0x1773) are correct

Execute again adb kill and ADB start (don't forget to add sudo)

To see if your phone is connected to your computer properly: $ adb Devices

Under normal circumstances, the following content will appear

Listof devices attached

19761202 Device (This information is not fixed, as long as there is information on the line)

If it appears

Listof devices attached

???????? No permissions

Please perform the following command to resolve:

$sudo adb kill-server

$sudo adb start-server

If the device doesn't show up,

Listof devices attached

please click on phone settings -Application-Development-USB debug (if checked please remove tick after check)

Then hit the following command:

$sudo adb kill-server

$sudo adb start-server

Login Phone Command:

$ADB Shell

under normal circumstances, it will enter Root Mode

#


This article from "Linux" blog, declined reprint!

ADB usage and problem solving on Ubuntu

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.