error: protocol fault (couldn't read status): Connection reset by peer
一、问题现象:
打开adb连接设备时,一直连接不上测试设备,提示:Unable to start adb server: error: protocol fault (couldn't read status): Connection reset by peer
二、问题原因:
大多数情况是5037端口被占用。5037为adb默认端口。
解决办法:
查看哪个程序占用了adb端口,结束这个程序,然后重启adb就好了。
三、解决问题:
1:使用命令:netstat -aon|findstr "5037" 找到占用5037端口的进程PID。
2:使用命令:tasklist|findstr "5440" 通过PID找出进程。
3:调出任务管理器,找到这个进程,结束进程。
4:使用命令:adb start-server 启动adb就行了