Solve problems with ADB not connecting to phone when Android development on Mac

Source: Internet
Author: User

When Android is developing on Mac OS today, open Eclipse does not connect to phone MX4 problem

1. Insert phone to open Terminal, enter system_profiler spusbdatatype

2. Look for the Vendor ID in the display results :

USB 3.0 Hi-speed Bus:      host controller location:built-in USB      host controller driver:appleusbxhci      PCI Device I D:0X9C31       PCI Revision id:0x0004       PCI Vendor id:0x8086       Bus number:0x0a         MX4:          Product id:0x0c02          Vendor ID: 0x2a45          Version:ff.ff          Serial number:75ubbkq22ptn          speed:up to 480 mb/sec          Manufacturer:meizu location          ID:0X14200000/7 current          Available (MA):          Required (MA): 192

3. Make a note of this number and transfer to Vi/users/xxx/.android/adb_usb.ini in terminal (if there is no version to create the file)

4. Insert the above number in a new line, and the format will

# Android 3RD Party USB VENDOR ID  list# USB "ANDROID update adb ' to generate# USB VENDOR ID PER line# mx40x2a45

That's it.

Solve problems with ADB not connecting to phone when Android development on Mac

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.