blackbelt:~ blackbelt$adb kill-server
blackbelt:~ blackbelt$adb start-server
适用于Linux和Mac.在我的机器中,adb是在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?
在您的情况下,adb未在PATH中声明.您可以导出PATH,也可以在命令行中指定adb的完整限定路径.例如.
blackbelt:~ blackbelt$/path/to/platform-tools/adb kill-server
blackbelt:~ blackbelt$/path/to/platform-tools/adb start-server
要么
blackbelt:~ blackbelt$./adb kill-server
blackbelt:~ blackbelt$./adb start-server
如果你在平台工具中