mac下使用mx4调试

MAC上想要用MX4来进行真机调试,然后,发现。。没反应,恩,然后,就是下面这样子了。

 1.  插上手机打开终端,输入:system_profiler SPUSBDataType,将输出结果记住。

 2.   拔下手机,重复以上动作。

 两者结果对比后会获得一个Vendor ID

(其实输入一遍就可以啦,根据名字判定其实也可以了,直接里面写着有MX4啦)

[plain] view plaincopy
 
  1. USB Hi-Speed Bus:  
  2.   
  3.      Host Controller Location: Built-in USB  
  4.      Host Controller Driver: AppleUSBEHCI  
  5.      PCI Device ID: 0x1c2d   
  6.      PCI Revision ID: 0x0005   
  7.      PCI Vendor ID: 0x8086   
  8.      Bus Number: 0x1a   
  9.   
  10.        Hub:  
  11.   
  12.          Product ID: 0x0024  
  13.          Vendor ID: 0x8087  (Intel Corporation)  
  14.          Version:  0.00  
  15.          Speed: Up to 480 Mb/sec  
  16.          Location ID: 0x1a100000 / 2  
  17.          Current Available (mA): 500  
  18.          Current Required (mA): 0  
  19.   
  20.            MX4:  
  21.   
  22.              Product ID: 0x0c02  
  23.              Vendor ID: 0x2a45  
  24.              Version: ff.ff  
  25.              Serial Number: 75UBCKJ22AUV  
  26.              Speed: Up to 480 Mb/sec  
  27.              Manufacturer: Meizu  
  28.              Location ID: 0x1a110000 / 4  
  29.              Current Available (mA): 500  
  30.              Current Required (mA): 192  
  31.   
  32.            USB OPTICAL MOUSE:  
  33.   
  34.              Product ID: 0x2510  
  35.              Vendor ID: 0x093a  (Pixart Imaging, Inc.)  
  36.              Version:  1.00  
  37.              Speed: Up to 1.5 Mb/sec  
  38.              Manufacturer: PIXART  
  39.              Location ID: 0x1a120000 / 3  
  40.              Current Available (mA): 500  
  41.              Current Required (mA): 100  

3.在终端里输入echo "0x2a45" >> ~/.android/adb_usb.ini

红色为你的设备VendorID

4.adb kill-server  或者在eciplse 的 ddms 里reset  adb

posted @ 2015-01-20 19:22  CC同学哈  阅读(619)  评论(0编辑  收藏  举报