blackbelt:~ blackbelt$ adb kill-server
blackbelt:~ blackbelt$ adb start-server
works on Linuxas well as on Mac. In my car adbis in PATH
"command not recognized." Can someone help me figure out how to go to Android from the terminal and use the command? Or, does anyone have another solution to the original problem Android Studio does not recognize my devices?
In your case is adbnot declared in PATH. You can either export PATHor specify the full path to adbthe command line. For example.
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
source
share