【发布时间】:2018-07-16 10:31:22
【问题描述】:
我最近下载了最新的 SDK 版本,即 api 26,但在尝试通过 Wifi 连接到我的设备时遇到此错误。
adb connect 123.456.78.90:5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
** daemon still not running
error: cannot connect to daemon: cannot connect to 127.0.0.1:5037: No connection could be made because the target machine actively refused it. (10061)
我尝试了许多其他解决方案,例如在其他 SO 帖子中提供的任务管理器中杀死 adb.exe,但没有一个对我有用。
【问题讨论】:
-
听从这篇文章中的建议:Android Studio wireless ADB error 10061
-
@Elletlar 感谢您的回答,但即使使用此命令
adb devices也会给我这个错误。该链接告诉将设备和机器连接到同一个网络,因为两者都连接到同一个 Wifi。 -
@Elletlar 谢谢,但更新到最新的平台工具 SDK 版本解决了我的问题。