1. 插上手机打开终端,输入:system_profiler SPUSBDataType,将输出结果记住。
2. 拔下手机,重复以上动作。
两者结果对比后会获得一个Vendor ID:
Composite Device: Product ID: 0x0010 Vendor ID: 0x2207 (Fuzhou Rockchip Electronics Co., Ltd.) Version: 2.22 Serial Number: 0123456789ABCDEF Speed: Up to 480 Mb/sec Manufacturer: rockchip Location ID: 0x14100000 / 12 Current Available (mA): 500 Current Required (mA): 500 Capacity: 14.08 GB (14,084,472,832 bytes) Removable Media: Yes Detachable Drive: Yes BSD Name: disk1 Partition Map Type: Unknown S.M.A.R.T. status: Not Supported
3.在终端里输入echo "0x2207" > ~/.android/adb_usb.ini
红色为你的设备VendorID
4.adb kill-server
搞定