关于Adb connection Error:EOF远程主机强迫关闭了一个现有的连接。 原因

在接触android后,里我已经是不止一次遇到如下错误

 

在myeclipse的DDMS控制台不停地弹出类似如下的错误

 

[2010-07-25 13:16:15 - DeviceMonitor]Adb connection Error:远程主机强迫关闭了一个现有的连接。
[2010-07-25 13:16:15 - DeviceMonitor]adb refused request:  
[2010-07-25 13:16:15 - DeviceMonitor]adb refused request:  

 

有的时候只是莫名其妙地就出现这类错误

 

网上搜了半天,发现最有效的方法就是重启myeclipse

 

有一个网友说可以 把adb.exe kill掉,然后重启服务(在cmd中完成)

但是我试验的时候是不行的,会出现

 

[2010-01-03 23:09:51 - DeviceMonitor]Adb connection Error:EOF
[2010-01-03 23:09:51 - DeviceMonitor]Connection attempts: 1
[2010-01-03 23:09:51 - DeviceMonitor]Connection attempts: 2。。。。
所以目前我就是使用重启myeclipse的方法
如果大家有更好的方法,欢迎留言提出
————————————————————————————————————————————————————
现在来解释下问题出现原因

DDMS uses a long-lived connection to the adb server running locally to get info about connected devices/emulators etc. The error message you posted generally just means that the connection to adb has been lost.

Because you ran the reset command, you essentially just killed and restarted an adb process, so Eclipse showed that harmless warning for a moment.

You can see this yourself by killing the adb process manually. Eclipse will show Connection attempts: n for about 10 attempts before giving up.

DDMS会长时间的不停的像adb server发出连接来获取模拟器或者连接设备等的信息。而这个错误是说这个连接已经丢失

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 11
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值