更新文件 ubuntu_usb_连接手机无法识别设备解决方法.md
This commit is contained in:
parent
e5e2f4167f
commit
df82917b7a
|
@ -2,32 +2,32 @@
|
||||||
|
|
||||||
1. usb线连接手机,输入命令
|
1. usb线连接手机,输入命令
|
||||||
|
|
||||||
$ lsusb
|
$ lsusb
|
||||||
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
|
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
|
||||||
Bus 001 Device 003: ID 0461:4e22 Primax Electronics, Ltd
|
Bus 001 Device 003: ID 0461:4e22 Primax Electronics, Ltd
|
||||||
Bus 001 Device 002: ID 413c:2107 Dell Computer Corp.
|
Bus 001 Device 002: ID 413c:2107 Dell Computer Corp.
|
||||||
Bus 001 Device 029: ID 2c73:7029
|
Bus 001 Device 029: ID 2c73:7029
|
||||||
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
|
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
|
||||||
|
|
||||||
2. 输入命令
|
2. 输入命令
|
||||||
|
|
||||||
$ sudo gedit ~/.android/adb_usb.ini
|
$ sudo gedit ~/.android/adb_usb.ini
|
||||||
|
|
||||||
打开编辑器,加入设备 id
|
打开编辑器,加入设备 id
|
||||||
|
|
||||||
0x2c73
|
0x2c73
|
||||||
|
|
||||||
3. 输入命令
|
3. 输入命令
|
||||||
|
|
||||||
$ chmod 777 ~/.android/adb_usb.ini
|
$ chmod 777 ~/.android/adb_usb.ini
|
||||||
|
|
||||||
4. 输入
|
4. 输入
|
||||||
|
|
||||||
$ adb kill-server
|
$ adb kill-server
|
||||||
|
|
||||||
再次
|
再次
|
||||||
|
|
||||||
$ adb devices
|
$ adb devices
|
||||||
|
|
||||||
可发现已连接上设备。
|
可发现已连接上设备。
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue