Connect mac to android and macandroid

Source: Internet
Author: User

Connect mac to android and macandroid

Solution to the problem that the mac system cannot connect to the android mobile phone:

1. Insert a cell phone

2. Find the vendor ID of the android mobile phone:

Run CMD: system_profiler SPUSBDataType on the terminal.

Find your mobile phone in the listed usb device and copy the vendor ID

N828 Android Phone:


Product ID: 0x0c02

Vendor ID: 0x0bb4 (HTC Corporation)

Version: 2.55

Serial Number: 0123456789 ABCDEF

Speed: Up to 480 Mb/sec

Manufacturer: AMOI

Location ID: 0x1d110000/8

Current Available (mA): 500

Current Required (mA): 500


3. Place the vandor ID in the configuration file:~ /. Android/adb_usb.ini

Run CMD: vi ~ on the terminal ~ /. Android/adb_usb.ini

Write the above vendor ID to the end of the file: wq save and exit

4. If the adb environment variable is not set, set it as follows:

Terminal run CMD:Vi ~ /. Bash_profile

Add the following at the end of the file:

Export PATH =/Users/miaojun/work/tools/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/: $ PATH

: Wq save and exit

Terminal run CMD:Source ~ /. Bash_profile

Adb devices

Adnroid is connected to the mobile phone



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.