blackbelt:~ blackbelt$ adb kill-server
blackbelt:~ blackbelt$ adb start-server
works on Linux
as well as on Mac
. In my car adb
is 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 adb
not declared in PATH
. You can either export PATH
or specify the full path to adb
the 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