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.

