Eclipse中/亚行频繁地从我的设备断开连接 [英] Eclipse/adb frequently disconnects from my device

查看:276
本文介绍了Eclipse中/亚行频繁地从我的设备断开连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调试时,我的设备经常从我的电脑断开连接,通常每调试会话之后。该设备仍然出现在DDMS列表中,但状态是脱机。解决它的唯一办法是重新连接USB线,成为一个痛苦做每小时10倍。有没有明显的错误消息,当它发生。

While debugging, my device frequently disconnects from my PC, usually after every debug session. The device still appears in the DDMS list but the status is "offline". The only way to fix it is to reconnect the USB cord, which becomes a pain after doing it 10 times every hour. There are no visible error messages when it happens.

我认为这是一个物理连接的问题,我的USB线或我的设备,但我最近升级到一个全新的Galaxy Nexus的一个全新的USB线,它仍然发生。现在,我相信这是一个软件问题。

I thought it was a physical connectivity problem with my USB cord or my device, but I recently upgraded to a brand-new Galaxy Nexus with a brand-new USB cord and it still happens. Now I'm convinced it's a software issue.

是否有任何理由,为什么我的设备下线频繁?是否有干扰了Android /亚行连接?已知的程序

Is there any reason why my devices go offline frequently? Are there any programs that are known to interfere with the Android/ADB connection?

在此先感谢...

推荐答案

是啊,你是对的。这似乎是issue.I都面临着这种烦人的事情很多次的软件,现在,然后它发生。我认为发生的事情是与设备/仿真器符亚行的连接或发生故障,因此Android开始显示设备的离线

要解决此问题。转到 DDMS - >设备选项卡 - >点击选择重置ADB(这是最后的选择,在点击下拉箭头)。然后你会看到一些错误报告中的控制台,但一分钟后,你的模拟器将准备没有问题可以使用。我做这一切的时候,它的工作原理。请尝试手动插入/拔出设备这个代替。

Yup, you are right. It seems to be a software issue.I have faced this annoying thing many times, it happens now and then. I think what happens is that the adb's connection with the device/emulator breaks or becomes faulty, so android starts showing the device as offline.

To correct this problem. Go to DDMS-->Devices Tab-->Click the option "Reset adb" (which is the last option, on clicking the dropdown arrow) . You will then see some error report in the console, but after a minute your emulator would be ready to be used without problems. I do it all the time and it works. Try this instead of manually plugging/unplugging the device.

这篇关于Eclipse中/亚行频繁地从我的设备断开连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆