【发布时间】:2016-03-23 12:44:35
【问题描述】:
嗨,我是 android 的新手,我无法运行 adb.exe,它给了我以下错误:
==>adb start-server
adb I 6108 5748 adb.cpp:219] Android Debug Bridge version 1.0.32
adb I 6108 5748 adb.cpp:219] Revision 09a0d98bebce-android
adb I 6108 5748 adb.cpp:219]
adb I 6108 5748 adb_client.cpp:126] _adb_connect: host:version
adb I 6108 5748 sysdeps_win32.cpp:742] could not connect to tcp:5037: cannot connect to 127.0.0.1:5037: No connection could be made because the target machine actively refused it. (10061)
adb I 6108 5748 adb_client.cpp:175] adb_connect: service host:start-server
* daemon not running. starting it now on port 5037 *
Cannot open 'nul': The system cannot find the file specified. (2)
* failed to start daemon *
error: cannot connect to daemon
这个错误到底是什么意思..?
Cannot open 'nul': The system cannot find the file specified. (2)
这是什么错误..?
【问题讨论】:
-
防火墙可能有问题
-
我禁用了防火墙以及快速修复防病毒软件,然后再次尝试我得到同样的错误
-
在您的窗口中输入
telnet并检查您是否能够连接。 -
你的意思是
telnet 127.0.0.1 5037..?它给了Connecting To 127.0.0.1...Could not open connection to the host, on port 5037: Connect failed -
请参考SO对我有帮助的答案!
标签: android shell sockets tcp adb