Search code examples
androidcommand-lineadb

'adb' is not recognized as an internal or external command


I have set the environmental variables as:

enter image description here

and

enter image description here

as well as added them to the path, which calling echo %path%:

enter image description here

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?


Solution

  • 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