在android studio导入应用原码出现的error: protocol fault (couldn't read status): Connection reset by peer
2017-11-15 09:06
603 查看
初学android studio,导入有原码包就出现问题。立码网上找解决方案:error: protocol fault (couldn't read status): Connection reset by peer以下是下别人写的解决方案。按步解决了!感谢“广告太多”(网名),好东西大家分享。
使用命令:netstat -aon|findstr "5037"
找到占用5037端口的进程PID。
使用命令:tasklist|findstr "5440"
通过PID找出进程。
调出任务管理器,找到这个进程,结束进程。
使用命令:adb start-server 启动adb就行了
问题原因
大多数情况是5037端口被占用。5037为adb默认端口。解决办法:
查看哪个程序占用了adb端口,结束这个程序,然后重启adb就好了。找到占用5037端口的进程PID。
使用命令:tasklist|findstr "5440"
通过PID找出进程。
调出任务管理器,找到这个进程,结束进程。
使用命令:adb start-server 启动adb就行了
相关文章推荐
- error: protocol fault (couldn't read status): Connection reset by peer
- Unable to start adb server: error: protocol fault (couldn't read status): Connection reset by peer
- Unable to start adb server: error: protocol fault (couldn't read status): Connection reset by peer
- Connection reset by peer: socket write error 连数据库出现改错
- fatal: read error: Connection reset by peer
- 在VMware8.0.4安装centos6.3出现蓝屏,显示“anaconda: Fatal IO error 104 (Connection reset by peer) on X server :1.0. install exited abnormally [1/1]”?
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- SSH 总是出现ssh_exchange_identification: read: Connection reset by peer问题的解决方案
- Java socket 说明 以及web 出现java.net.SocketException:(Connection reset或者Connectreset by peer:Socket write error)的解释
- "ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error"异常出现的原因
- java使用axis调用webservice时出现Connection reset by peer: socket write error的一种解决方法
- subsystem request failed on channel 0 Couldn't read packet: Connection reset by peer
- SSH error ( Read from socket failed: Connection reset by peer ) and it's solution
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- 登录ssh提示:ssh_exchange_identification: read: Connection reset by peer error
- KVM Error restoring domain: Unable to read from monitor: Connection reset by peer
- ab测试出现error: connection reset by peer的解决方案
- fatal: read error: Connection reset by peer
- pyspider连接rabbitmq ,结果出现socket.error: [Errno 104] Connection reset by peer 这样的报错信息
- SSH error ( Read from socket failed: Connection reset by peer ) and it's solution