mac测试用华为C8817E,发现adb无法连接,解决方法如下:
- 输入命令:
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
把得到的Vendor ID加入到
~/.android/adb_usb.ini
中命令行:...