Build adb environment under Windows10

1. Prepare the platform-tools toolkit, which can be placed in a certain folder on a local disk, and unzip the toolkit;

 

2. Enter System Properties "" Advanced" "Environment Variables" "System Variables;

 3. Create a new system variable, set the variable name and variable value;

 Edit system variables:

4. Add the set system variable adb to the path path

There is another way:

Directly put the decompression path of platform-tools into the newly created path in path;

After the adb environment variable is configured, win+R enter cmd to open the black window, and then enter adb

PS: If you open cmd and enter adb, it still prompts that adb' is not an internal or external command, nor is it an executable program
or batch file.

 

Move the adb environment variable configured in the path to the first line, and then reopen cmd and enter adb.

 

 

Guess you like

Origin blog.csdn.net/qq_40584683/article/details/126954879