Device keeps losing connection regularly when connected to Mac Mini

Viewed 8584

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.

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

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?

Thanks.

4 Answers

I'm having the same issue on a MacBook Air and haven't found a fix. However I have an easier workaround than physically disconnecting/reconnecting the cable back and forth.

Swipe from top to bottom to show the notifications, then click on "Tap for more USB options".

enter image description here

Then select either MTP or PTP. The device should be reconnecting after switching between MTP and PTP.

enter image description here

Related