Eclipse cannot connect to phone under Mac

Source: Internet
Author: User

1. Open terminal, enter: System_profiler spusbdatatype, check all USB device information of Mac system, find the corresponding manufacturer Vender ID.

-----------------Spreadtrum Phone:              Product id:0x5d04              Vendor id:0x1782              ... Serial number:t619 ...-----------------

  

2, Vim ~/.android/adb_usb.ini, in the terminal plus Vender ID, as shown below.

Last login:wed Nov  5 14:48:35 on ttys000guoxiaoyuedemacbook-pro:~ guoxiaoyue$ vim ~/.android/adb_usb.ini# android 3R D Party USB VENDOR ID LIST--does not edit.# with ' Android update adb ' to generate.# 1 USB VENDOR ID PER line.0x2a450x18d1
   ~                                                                               ~                                                                               ~                                                                               "~/.android/adb_usb.ini" 5L, 137C

  

3. Restart ADB

ADB kill-serveradb Start-server

  

Eclipse cannot connect to phone under 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.