-2

Phone gets auto disconnected after 20-30 minutes and the Andriod studio shows they are no connected devices when I click run. I tried re-installing ADB , changed connect as to Camera(PTP), installed universal ADB , nothing worked for me

I have a Xiaomi MI4I device and this is causing a lot of lost time during development.

Adriaan
  • 17,741
  • 7
  • 42
  • 75
Jani
  • 77
  • 2
  • 14
  • why do want to restart android studio? – Abdul Waheed Mar 15 '17 at 11:11
  • what you have tried is not clear. "tried all solutions googled", is not enough for the definition of a good SO question. The faster you update your question the better are your chances to stay on. – Siddharth Mar 15 '17 at 11:12
  • You probably want to restart the adb server – Murat Karagöz Mar 15 '17 at 11:18
  • Phone gets auto disconnected after 20-30 minutes and the Andriod studio shows they are no connected devices when I click run. I tried re-installing ADB , changed connect as to Camera(PTP), installed universal ADB , nothing worked for me – Jani Mar 15 '17 at 11:18
  • Restarting the ADB helped. it worked [this is how you can restart your ADB](http://stackoverflow.com/questions/29826101/how-to-restart-adb-manually-from-android-studio) – Jani Mar 15 '17 at 11:55

1 Answers1

0

enter image description here

Disable and again enable this.

Prateek Yadav
  • 932
  • 6
  • 8