使用adb命令报错:error: cannot connect to daemon解决办法

Posted watertaro

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用adb命令报错:error: cannot connect to daemon解决办法相关的知识,希望对你有一定的参考价值。

 

具体报错如下:

C:\Users\xxxx>adb devices
* daemon not running. starting it now on port 5037 *
CreateProcess failure, error 2
* failed to start daemon *
error: cannot connect to daemon

 

解决办法如下:

打开cmd命令窗口,输入adb nodaemon server

打开另一个cmd窗口,输入adb devices即可

以上是关于使用adb命令报错:error: cannot connect to daemon解决办法的主要内容,如果未能解决你的问题,请参考以下文章

adb pull 报错处理:adb: error: cannot create file/directory 'E:': No such file or directory

[Monkeyrunner]waitForConnection()报错:Adb rejected adb port forwarding command: cannot bind socket

adb 运行提示error: cannot connect to daemon

node报错解决方案Error: Cannot find module http-errors

错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such fil

错误记录Git 使用报错 ( error: Cannot delete branch ‘dev‘ checked out at ‘D:/Git/git-learning-course‘)