'adb' is not an internal or external command, nor is it an executable program or batch file.

Insert picture description here

If you want to see more algorithm questions, you can scan the QR code above to follow my WeChat official account " Data Structure and Algorithms ". Up to now, I have updated more than 500 algorithm questions in the official account , some of which have been sorted into pdf documents. , As of now, there are more than 800 pages in total (and will continue to increase), you can reply to the keyword "pdf" in the official account to download.


Enter adb shell in the window, prompting that 'adb' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
Insert picture description here
this is because adb.exe was not found. This is in the directory...\sdk\platform-tools. (Everyone’s directory is different)
Insert picture description here
We can run the adb command when
Insert picture description here
we enter this directory. We can run after entering this directory, but it’s a bit troublesome to enter this directory every time. We can add it to the system environment. Variable

Computer→Properties→Advanced System Settings→Advanced→Environment Variables
Insert picture description here
Find the Path directory below,
Insert picture description here
then add the adb directory, click OK
Insert picture description here
and take a look again, you can run it without entering the adb directory again
Insert picture description here

Guess you like

Origin blog.csdn.net/abcdef314159/article/details/112252985