在android studio导入应用原码出现的error: protocol fault (couldn't read status): Connection reset by peer
来源:互联网 发布:淘宝分享有礼在哪里 编辑:程序博客网 时间:2024/05/18 03:36
初学android studio,导入有原码包就出现问题。立码网上找解决方案:error: protocol fault (couldn't read status): Connection reset by peer以下是下别人写的解决方案。按步解决了!感谢“广告太多”(网名),好东西大家分享。
问题原因
大多数情况是5037端口被占用。5037为adb默认端口。
解决办法:
查看哪个程序占用了adb端口,结束这个程序,然后重启adb就好了。
- 使用命令:netstat -aon|findstr "5037" 找到占用5037端口的进程PID。
- 使用命令:tasklist|findstr "5440" 通过PID找出进程。
- 调出任务管理器,找到这个进程,结束进程。
- 使用命令:adb start-server 启动adb就行了
阅读全文
0 0
- 在android studio导入应用原码出现的error: protocol fault (couldn't read status): Connection reset by peer
- 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
- fatal: read error: Connection reset by peer
- fatal: read error: Connection reset by peer
- subsystem request failed on channel 0 Couldn't read packet: Connection reset by peer
- 原创Couldn't read packet- Connection reset by peer 错误排查思路(推荐)
- ERROR:Connection reset by peer
- socket在read时提示Connection reset by peer错误
- socket在read时提示【Connection reset by peer】错误
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- SSH 总是出现ssh_exchange_identification: read: Connection reset by peer问题的解决方案
- ssh_exchange_identification: read: connection reset by peer
- ssh_exchange_identification: read: Connection reset by peer
- ssh_exchange_identification: read: Connection reset by peer
- "ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error"异常出现的原因
- Connection reset by peer -> Linux 下的错误 error.h
- 【Java】Windows环境下Mybatis快速生成映射代码工具类介绍
- 兔子问题C语言
- Caffe编译问题"locale::facet::_S_create_c_locale name not valid"
- win10下TortoiseSVN 1.9.7-x64不显示图标
- Qt软件发布问题记录
- 在android studio导入应用原码出现的error: protocol fault (couldn't read status): Connection reset by peer
- 修改限值 scada系统
- 1005. Spell It Right (20)
- 本地服务器安装 GITLAB 服务
- python 求两个数列的交集、并集与差集
- 唯快不破:TCP/IP详解--TCP/IP连接各个状态转换分析
- 程序员面试的那些百分百原则,你会了吗?
- python 执行命令
- 【语言转换】matlab regionprops方法 参数为area IDL实现