Solution for Mac OSX that eclipse ADB does not recognize (debug) a real machine

Source: Internet
Author: User

Recently, I had a problem developing Android on my Mac. With Vivo x3t as a development machine, connected to the computer after the discovery eclipse in DDMS without my real machine, after some Google and Baidu, finally found a solution, here to share to you.

If you encounter a situation that the ADB command prompts you to find, you can read my other article, set the Android ADB environment variable in MAC

1. First, make sure that you have installed the Android SDK or integrated development environment ADT. After you connect your phone to your computer, enter it in the terminal

[Plain]View Plaincopy
    1. ADB devices

If you see a device after the carriage return indicates that it has been configured successfully, then continue with the following steps.

2. manually modify the USB Vendor ID. 0X9BB5 is the vendor ID of my x3t.

Enter in the terminal

[Plain]View Plaincopy
  1. mkdir ~/.android
  2. echo "0x9bb5" > ~/.android/adb_usb.ini
  3. ADB kill-server

3. Turn on "USB debugging" under the Debug menu.

4. Finally restart Eclipse or idea, then perform a real-machine debugging. If that doesn't work, you can try disconnecting your phone.


Reprint please indicate the source. Thank you.

Personal blog: http://blog.csdn.net/lylzwsy

Solution for Mac OSX that eclipse ADB does not recognize (debug) a real machine

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.