Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android device keeps disconnecting from adb / eclipse

So I've read nearly every stack overflow answer about this issue, but still no solution. My device keeps getting disconnected. I've switched through 12 wires, I've tried every USB port; nothing. Eclipse keeps dropping the connection. It happens most often when I enter debug mode. Has anyone found a solution to this? Is this a bug in the new update? Seriously, this makes debugging and testing so painful. It slows down my testing by at least 3 times. There has to be a better solution.

like image 348
shoke Avatar asked Aug 12 '13 23:08

shoke


2 Answers

First thing I tend to try is the following commands in cmd/terminal

adb kill-server
adb start-server

And lastly,

adb devices

To check the device is connected.

Following that I'd try restarting the device, and perhaps as a last resort uninstall/reinstall it's drivers.

Edit: also, do you have access to another device? In the past I've had issues with specific devices constantly dropping out.

like image 185
William Pownall Avatar answered Nov 16 '22 09:11

William Pownall


I experience that when my nexus7 2012 kept disconnecting; root cause was the USB3 connection. Changing to a USB2 port fixed my issues; can you try switching to a lower speed port?

like image 7
Peter J Lord Avatar answered Nov 16 '22 07:11

Peter J Lord