连接到Mac Mini时,设备会保持定期断开连接 [英] Device keeps losing connection regularly when connected to Mac Mini

查看:139
本文介绍了连接到Mac Mini时,设备会保持定期断开连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在MAC Mini上开发android应用,并安装了所有必需的软件,例如android SDK,eclipse和ADT. 到目前为止,除了一件事之外,一切都运行良好. 我正在通过USB连接Google Nexus手机,并且已将手机置于USB调试模式,并且还检查了通过USB连接时屏幕保持打开状态的选项.

I am trying to develop android apps on a MAC Mini and have installed all the required software like android SDK, eclipse and ADT. Everything works well so far except for one thing. I am connecting a Google Nexus phone via the USB and i have put the phone in the USB debugging mode and also have checked the option that the screen remain on while connected via USB.

但是由于某些原因,当我定期连接设备时,我一直会丢失连接.例如:每3分钟左右.我知道它失去了连接,因为当我跑步时

But for some reason, I keep losing the connection when the device is connected at a regular interval. For ex: every 3 minutes or so. I know that it's losing connection because when I run

adb devices

大约3分钟后,我在设备列表中没有看到任何设备.任何解决方法还是我没有正确执行一些设置步骤?

after 3 minutes or so, i see no devices in the list of devices. Any workaround for this or am i not doing some set up steps correctly?

谢谢.

推荐答案

有时我也会遇到此问题,对我来说,这通常是笔记本电脑上的一个不好的端口,当我使用另一个端口却无法正常工作时(如果可用)尝试在计算机上使用其他USB端口.另外,您使用的USB线也可能有故障,如果您可以使用另一根线,我会尝试一下,看看是否有帮助.

I run into this issue as well sometimes and for me it is usually a bad port on my laptop, when I use another port than it works fine, if available try different usb ports on your computer. Also the usb cord you are using may be faulty as well, if you have access to another cord I would try that and see if it doesn't help.

这篇关于连接到Mac Mini时,设备会保持定期断开连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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