在连接到adb时遇到问题,尝试运行adb devices
我已经尝试过的:
adb kill-server
然后adb start-server
以上都不是为我解决的问题。
我先运行export ADB_TRACE=all
,然后再运行adb devices
,看到下面的跟踪信息回来了
adb D 08-06 11:56:09 30020 148574 adb_trace.cpp:192] Android Debug Bridge version 1.0.41
adb D 08-06 11:56:09 30020 148574 adb_trace.cpp:192] Version 29.0.1-5644136
adb D 08-06 11:56:09 30020 148574 adb_trace.cpp:192] Installed as /usr/local/bin/adb
adb D 08-06 11:56:09 30020 148574 adb_trace.cpp:192]
adb D 08-06 11:56:09 30020 148574 adb_client.cpp:153] _adb_connect: host:version
adb D 08-06 11:56:09 30020 148574 adb_io.cpp:107] writex: fd=3 len=16 30303063686f73743a76657273696f6e 000chost:version
adb D 08-06 11:56:09 30020 148574 adb_io.cpp:81] readx: fd=3 wanted=4
adb D 08-06 11:56:09 30020 148574 adb_io.cpp:91] readx: fd=3 disconnected
adb: failed to check server version: protocol fault (couldn't read status): Undefined error: 0
我不确定下一步该怎么做,但是任何建议都会感激
更新: 我正在使用2018 Macbook Pro,与我一起工作的其他人也遇到同样的问题,不确定是否相关,但可能会有所帮助
答案 0 :(得分:0)