一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

mac无法识别android手机怎么办

时间:2016-12-27 编辑:简简单单 来源:一聚教程网

1,查看adb是否开启

  1. zhangyingdeMacBook-Pro:bin zhangying$ ps -ef |grep adb  
  2.  501 13843 1 0 9:31上午 ?? 0:10.09 adb -P 5037 fork-server server --reply-fd 4  
  3.  501 13891 4321 0 9:43上午 ttys001 0:00.00 grep adb  

如果开启了,还是不能识别,就要往下看。

2,查看USB连接设备

  1. $ system_profiler SPUSBDataType  
  2. USB:  
  3.   
  4.  USB 3.0 Bus:  
  5.   
  6.  Host Controller Driver: AppleUSBXHCIWPT  
  7.  PCI Device ID: 0x9cb1  
  8.  PCI Revision ID: 0x0003  
  9.  PCI Vendor ID: 0x8086   
  10.   
  11.  Bluetooth USB Host Controller:  
  12.   
  13.  Product ID: 0x8290  
  14.  Vendor ID: 0x05ac (Apple Inc.)  
  15.  Version: 1.34  
  16.  Speed: Up to 12 Mb/sec  
  17.  Manufacturer: Broadcom Corp.  
  18.  Location ID: 0x14300000 / 2  
  19.  Current Available (mA): 500  
  20.  Current Required (mA): 0  
  21.  Extra Operating Current (mA): 0  
  22.  Built-In: Yes  
  23.   
  24.  Wireless Receiver:  
  25.   
  26.  Product ID: 0x8367  
  27.  Vendor ID: 0x248a  
  28.  Version: 1.00  
  29.  Speed: Up to 12 Mb/sec  
  30.  Manufacturer: Telink  
  31.  Location ID: 0x14200000 / 4  
  32.  Current Available (mA): 500  
  33.  Current Required (mA): 50  
  34.  Extra Operating Current (mA): 0  
  35.   
  36.  M81:  
  37.   
  38.  Product ID: 0x0c02  
  39.  Vendor ID: 0x2a45 //机器识别码  
  40.  Version: ff.ff  
  41.  Serial Number: 81MEBMP2GF4K  
  42.  Speed: Up to 480 Mb/sec  
  43.  Manufacturer: Meizu  
  44.  Location ID: 0x14100000 / 12  
  45.  Current Available (mA): 500  
  46.  Current Required (mA): 500  
  47.  Extra Operating Current (mA): 0  

3,将机器识别码存到.android目录下

  1. $ vim ~/.android/adb_usb.ini  
  2. 0x2a45  

4,查看设备状态

  1. $ adb devices  
  2. List of devices attached  
  3. 81MEBMP2GF4K device    //设备已能识别  

热门栏目