Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android ADB Device Will Not Stay Connected

Tags:

linux

android

adb

Recently all my devices have lost connection to adb ... kind of. I've searched all over but can't find this exact issue, so here goes.

The output of 'adb devices' is an empty list, about 95% of the time. If I'm spamming 'adb devices' I'll see an occasional:

List of devices attached 
<deviceId>        device

but it disappears less than a second afterwards. This happens with my Nexus 7, Nexus 5, and a non-Nexus Asus tablet. The symptoms are identical for all my devices and various USB cables.

Here's what I've tried, unsuccessfully:

  1. adb kill-server, adb start-server
  2. Other USB cables
  3. Other USB ports (front, back, USB 2.0, USB 3.0)
  4. Ensure udev rules are correct, restart udev
  5. Other devices
  6. reinstall kubuntu, reverting to 12.04 (from 14.04)
  7. reset Android device to factory

The last steps were out of desperation. And here we are, #8: ask SO for help.

This all worked fine as of 2 days ago, before my upgrade to kubuntu 14.04, which is why I tried #6, assuming it would resolve my issue. It didn't. Any suggestions would be greatly appreciated.

like image 359
Brien Coffield Avatar asked Dec 05 '25 14:12

Brien Coffield


1 Answers

I was able to resolve this by using the adb packaged with android-tools-adb. Why that works while the stock adb in platform-tools did not, I have no idea.

like image 178
Brien Coffield Avatar answered Dec 08 '25 05:12

Brien Coffield



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!