How to restart ADB manually from Android Studio

后端 未结 11 733
星月不相逢
星月不相逢 2020-11-28 05:59

I previously developped Android apps on Android Studio . Everything works fine.

I work on real device, and Android Studio recognize it without issue.

Suddenl

相关标签:
11条回答
  • 2020-11-28 06:04

    When I had this problem, I wrote adb kill-server and adb restart-server in terminal, but the problem appeared again the next day. Then I updated GPU debugging tools in the Android SDK manager and restarted the computer, which worked for me.

    0 讨论(0)
  • 2020-11-28 06:06

    If you are in Android Studio Open Terminal

     adb kill-server
    

    press enter and again

     adb start-server
    

    press enter

    Otherwise

    Open Command prompt and got android

    sdk>platform-tools> adb kill-server
    

    press enter

    and again

    adb start-server
    

    press enter

    0 讨论(0)
  • 2020-11-28 06:10

    I do not find a perfect way in Android Studio, get the process id and kill it from terminal:

    ps -e | grep adb
    kill -9 pid_adb
    
    0 讨论(0)
  • 2020-11-28 06:12

    After reinstalling Android Studio, Is working without adb kill-server

    0 讨论(0)
  • 2020-11-28 06:13

    open command prompt -> cd to your sdk\platform-tools type below command:

    adb kill-server && adb start-server
    
    0 讨论(0)
  • 2020-11-28 06:14

    Open Command promt and got android sdk>platform-tools> adb kill-server

    press enter

    and again adb start-server

    press enter

    0 讨论(0)
提交回复
热议问题