I started out running directly from drive D
D:\Xing\soft\android studio\adb
It works, but it doesn’t work when you run ADB globally, and you have to configure environment variables
Click “Computer” – “Properties” – “Advanced System Settings”
— “Environment variables”
— Create a new ADB in “System Variables” and its location
Then use the command version to find that the global is available.
So happy ~
However, after turning off the computer, I came back the next day and found that it could not be used again…
Do how?
So, download the android ADB command package again and put it on drive D:\soft\test-soft\platform-tools
Link: pan.baidu.com/s/1py9pFsv4… Extract code: 8z1U Copy this section of content after opening Baidu web disk mobile App, more convenient operation oh
Then unpack
Then re-enter the environment variables to configure the new variables
Then add %android% after path
Then open the command line and type ADB to see the following on behalf of success, I hope this computer shutdown, tomorrow can continue to use