Debugging the installation of mobile phone real machine with adb tool in linux

Source: Internet
Author: User

Linux adb tool installation mobile phone real machine debugging host information: Linux yan-Server 3.4.36-gentoo #3 SMP Mon Apr 1 14:09:12 CST 2013 x86_64 AMD Athlon (tm) x4 750 K Quad Core Processor AuthenticAMD GNU/Linux Android mobile phone: Xiaomi mobile phone 1 S Step 1: Start the mobile phone, plug in the mobile phone, enter the lsusb command on the linux terminal to query the devices on the USB bus, for example, the following figure shows the device ID of the Development Board. Modify the/etc/udev/rules file. d/70-android.rule file [plain] SUBSYSTEM = "usb", ATTRS {idVendor }== "18d1", ATTRS {idProduct} = "9025 ", MODE = "0666" in/etc/bash. in bashrc, declare the adb PATH: export PATH =/opt/android-sdk-update-manager/platform-tools: $ PATH and then source/etc/bash. bashrc restart ADB adb kill-serveradb start-server to use the adb devices command to find the device: you need the root permission to directly select the real machine for debugging in Eclipse.

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.