mac下adb无法连接华为C8817E

mac测试用华为C8817E,发现adb无法连接,解决方法如下:

  1. 输入命令:system_profiler SPUSBDataType 可以得到如下:
Android:

  Product ID: 0x1052
  Vendor ID: 0x12d1  (Huawei Technologies Co., Ltd.)
  Version: ff.ff
  Serial Number: 80717a61673d
  Speed: Up to 480 Mb/sec
  Manufacturer: Android
  Location ID: 0x1d110000 / 7
  Current Available (mA): 500
  Current Required (mA): 500
  1. 把得到的Vendor ID加入到 ~/.android/adb_usb.ini

  2. 命令行:adb kill-server

  3. 命令行: adb start-server

5.可以查看 adb devices,就可以看到如下:

List of devices attached
80717a61673d    device
鲁ICP备13007872号-1