'adb' is not recognized as an internal or external command
11,493
remove the user variable you added System Variable PATH Variable name : PATH Variable Value : C:\Users\KJA\AppData\Local\Android\sdk\platform-tools open a new terminal try echo %path%
restart android studio and try adb on android studio terminal
Author by
Sauron
Updated on June 04, 2022Comments
-
Sauron almost 2 years
I have set the environmental variables as:
and
as well as added them to the path, which calling
echo %path%
:yet calling
adb
from command still yields the error:'adb' is not recognized as an internal or external command
What could be the cause of this issue?
-
Sauron about 8 yearsI did that, nothing changed. Do I need to restart?
-
dione llorera about 8 yearsplease see this link stackoverflow.com/questions/10303639/adb-command-not-found
-
dione llorera about 8 yearsand make sure you are pointing out the correct directory in variable value.. nope no need for restart
-
dione llorera about 8 yearsok i got it working now edit the system variable name PATH and make the value to where until platform-tools where adb is located and dont add it on user variables after that restart android studio
-
Sauron about 8 yearsThat is what I am doing. adb is located within the file
platform-tools
-
dione llorera about 8 yearscan you show me the variable name and the value please
-
Sauron about 8 yearsLet us continue this discussion in chat.