好久没用真实设备调试了,现在的高版本 Android 都自带了 WIFI 调试,也不需要什么 root 权限,还是比较方便的,但今天连接的时候一直报错:
failed to connect to '192.168.31.71:40206': Connection refused
就很莫名其妙,以往都这么用,怎么突然就不行了,重启下 adb 试了下,也是一堆错:
ADB server didn't ACK Full server startup log: /var/folders/89/cb_s5g296qbdc4gpthvczgfm0000gn/T//adb.501.log Server had pid: 54694 --- adb starting (pid 54694) --- adb I 08-07 13:13:48 54694 12330329 main.cpp:63] Android Debug Bridge version 1.0.41 adb I 08-07 13:13:48 54694 12330329 main.cpp:63] Version 31.0.2-7242960 adb I 08-07 13:13:48 54694 12330329 main.cpp:63] Installed as /usr/local/bin/adb adb I 08-07 13:13:48 54694 12330329 main.cpp:63] adb E 08-07 13:13:48 54694 12330332 usb_osx.cpp:161] Unable to create an interface plug-in (e00002be) adb E 08-07 13:13:49 45749 11396835 usb_osx.cpp:161] Unable to create an interface plug-in (e00002be) adb F 08-07 13:13:49 54694 12330329 main.cpp:156] could not install *smartsocket* listener: Address already in use * could not start server *
既然如此,纵使再莫名其妙,不过一个重装大法:
brew reinstall android-platform-tools
以上。
本站由以下主机服务商提供服务支持:
0条评论