How to Restart Adb Manually from Android Studio

How to restart ADB manually from Android Studio

Open Command prompt and go to

android sdk>platform-tools>

adb kill-server

press enter

and again

adb start-server

press enter

Restart ADB from Android Studio

What I usually do when I get this error is restarting the adb server by typing in the command into Terminal:

adb kill-server
adb start-server

However this can be achieved in Android Studio. Clicking the Monitor button you can launch the same program you have referenced from Eclipse.

Monitor


monitor 2

If you do not see this you may need to update your Platform Tools from the SDK Manager button.

Sample Image

Have to restart Android studio for it to recognise my android device. how to solve it?

Sample Image

Disable and again enable this.

How to restart android adb using terminal on macOS?

blackbelt:~ blackbelt$ adb kill-server
blackbelt:~ blackbelt$ adb start-server

works on Linux as well as on Mac. In my machine, adb is in PATH

"command not recognized". Can somebody help me figure out how to
navigate into Android from terminal and use the command? Or, does
anybody have another solution to the original problem of Android
Studio not recognizing my devices?

In your case adb is not declared in PATH. You can either export the PATH, or specify the full qualified path to adb in the command line. E.g.

 blackbelt:~ blackbelt$ /path/to/platform-tools/adb kill-server
blackbelt:~ blackbelt$ /path/to/platform-tools/adb start-server

or

 blackbelt:~ blackbelt$ ./adb kill-server
blackbelt:~ blackbelt$ ./adb start-server

if you are inside platform-tools



Related Topics



Leave a reply



Submit