`
凌寒_微雨
  • 浏览: 7496 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

关于Adb connection Error:EOF

阅读更多
   出现这个问题首先看手机的设置:
在手机应用程序->开发  选择usb调试 ,选择后看是否连接上,如果还是没有

   那么在linux系统下可以这样操作:
如果出现上面的问题,而且有且只有Connection attempts: 1 ,这一条链接信息,目前的解决方法就是重启eclipse。

如果出现的是
[2011-07-27 10:31:48 - DeviceMonitor]Adb connection Error:EOF
[2011-07-27 10:31:48 - DeviceMonitor]Connection attempts: 1
[2011-07-27 10:31:49 - DeviceMonitor]Connection attempts: 2
[2011-07-27 10:31:50 - DeviceMonitor]Connection attempts: 3
[2011-07-27 10:31:51 - DeviceMonitor]Connection attempts: 4
[2011-07-27 10:31:52 - DeviceMonitor]Connection attempts: 5
[2011-07-27 10:31:53 - DeviceMonitor]Connection attempts: 6
[2011-07-27 10:31:54 - DeviceMonitor]Connection attempts: 7
[2011-07-27 10:31:55 - DeviceMonitor]Connection attempts: 8
[2011-07-27 10:31:56 - DeviceMonitor]Connection attempts: 9
[2011-07-27 10:31:57 - DeviceMonitor]Connection attempts: 10
[2011-07-27 10:31:58 - DeviceMonitor]Connection attempts: 11

解决方法可以是这样的
命令行下
ww@ww-G41D3:~$ adb kill-server
ww@ww-G41D3:~$ sudo adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *(很关键的信息哦,如果没有出现这样的提示,那就重新执行上面的命令)
List of devices attached
hw-smart-phone
device



分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics