此问题已被窃听我的年龄,我似乎无法修复或完全本地化的问题的根源(尽管有时我可以强制它通过让手机待机同时连接到Eclipse,但有时那甚至不造成问题)。
This problem has been bugging me for ages and I can't seem to fix it or fully localize the source of the problem (although at times I can force it by allowing the phone to Standby while connected to Eclipse, but sometimes that doesn't even cause a problem).
让我们通过以下步骤。
连接我的设备,它会弹出,似乎是工作的罚款:
I connect my device, it pops up and seems to be working fine:
我双击它,以确保LogCat中是在其中两件事情1点记录这一点:
I double-click it to ensure LogCat is logging it at which point 1 of 2 things happen:
这似乎工作,我换到LogCat中 窗sliiides通过 一堆文字,然后变成了白色,我 切换回设备,看看
It seems to work, I swap to LogCat window which sliiides through a bunch of text and then goes white, I swap back to Devices and see
设备立即下线
现在,如果我离开了一段时间,做围绕Eclipse的随机的东西,线下设备的数量慢慢增加(它们都具有相同的ID,我的):
Now if I leave it for a while and do random things around Eclipse, the number of offline devices slowly increase (they all have the same ID, mine):
事情,帮助
我用Google搜索,看着其他问题关于这一点,只能设法找到了几个导游告诉我重新启动ADB服务器。 我已经做了,通过使用命令:
I have Googled and looked at other questions regarding this and only managed to find a few "guides" that tell me to restart the adb server. I've done that through the use of the commands:
adb kill-server
adb start-server
现在的问题是,只有修复它非常罕见。有时,一个完整的PC重启将修复它,但不总是...
The problem is, that only fixes it very rarely. At times a complete PC reboot will fix it, but not always...
另外,关掉你的手机时,它插在待机模式下,对我来说,这是通过将实现
Also, turn off Standby mode on your phone when it's plugged in. For me, this is achieved by going
设置 - >程序 - >发展 - >保持唤醒 Settings -> Programs -> Development -> Stay Awake有没有人有这个一个真正的解决方案?我试过最多的是我能找到谷歌和过零的运气却和它的真正开始激怒我。
Does anyone have a true solution for this? I've tried most of what I could find on Google and had zero luck yet and it's really starting to annoy me.
编辑:哇靠,这就是那么讨厌! 编辑2:只要我能加入悬赏这个
Holy crap, this is SO ANNOYING! EDIT 2: Adding a bounty to this as soon as I can.
修改3 :可能涉及到,它的通过为我们的机器位于另一个房间要保持噪声放大器USB集线器连接的事实;热量水平在我们的办公室了。我得到它足够稳定来部署应用程序,非常快速测试,但它仍然进入离线模式的时候。哦,好吧,现在做的与我的项目。
EDIT 3: Probably related to the fact that it's connected through a USB hub as our machines are located in another room to keep noise & heat levels down in our offices. I have gotten it stable enough to deploy applications and test very quickly, but it still goes Offline at times. Oh well, done with my project for now.
推荐答案
打开/关闭设置中USB调试为我工作。
Toggle on/off for 'USB Debugging' in settings worked for me.
相关推荐
最新文章