已解决:error: cannot connect to daemon

C:\Users\Administrator>adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
adb: CreateFileW 'nul' failed: 系统找不到指定的文件。 (2)
* failed to start daemon
error: cannot connect to daemon
 

 

解决办法:

1.输入命令:adb nodaemon server,回车不关闭cmd窗口

2.再打开一个新的dos命令行窗口cmd

3.输入adb devices,成功显示目前连接的设备

 

 

 

你可能感兴趣的:(appium)