ADB crash constantly

2019-07-12 04:48发布

问题:

When i'm using Android Studio for hours (6-7) after a while the ADB becomes unstable. I mean it crashes random over and over again. It's frustrating that my Nexus 7 is disconnected every time adb crash.

It occurs every time when i'm using for hours. I tried with

  • other cable
  • plug into other USB ports
  • restart Android Studio
  • adb kill-server and then adb start-server // fails

Finally it always become unusable like this: http://i.stack.imgur.com/Q2oxB.gif

As much as I can figure out only a system restart solves the problem but I think this isn't the proper solution for the problem.

Anyone suffers the same problem? How can I solve this without system restart?

回答1:

EDIT: Make sure to switch between USB 3.0 and USB 2.0.

Source: https://android.stackexchange.com/questions/12491/adb-constantly-disconnects-shows-device-offline