Debugging of Android real machines in Linux (Ubuntu, real machines, including arm boards)

Source: Internet
Author: User

Step 1: lsusb check the USB ID

Bus 002 device 004: ID 22b8 : 41db Motorola PCs Motorola Droid (USB Debug)

 

Step 2: edit the configuration file

 

Sudo Vim/etc/udev/rules. d/50-android.rulessubsystem = "USB", sysfs {idvendor }== "22b8", mode = "0666" sudo chmod 777/etc/udev/rules. d/50-android.rules

 

Step 3: Enable ADB debugging

EnterADBDirectory, disable the previous ADB service, and then start

Cd ~ /Code/android-sdk-linux_x86/platform-Tools
./ADB kill-Server
Sudo./ADB start-Server Copy code

 

* Daemon not running. Starting it now on port XXXX *
* Daemon started successfully *

 

./ADB deviceslist of devices attached
Xxxxxxxxxxxxxxxx Device (a fixed code value is displayed)

 

Step 4: start debugging

Click debug.

 

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.