Configure adb environment variables
1. Verify that the adb service can be enabled
Run the adb devices command under the doc window of Windows to verify whether the adb service can be enabled successfully (adb will be used when connecting to the phone wirelessly for testing):
If the prompt is not an internal or external command, configure the environment variable of adb and add the path of adb to the path variable:
two。 Find the path to adb:
3. Add the path to the path environment variable:
The following prompt indicates that the adb environment variable is configured successfully: