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