Configure adb environment variables and adb Environment Variables
Reprinted please indicate the source: http://www.cnblogs.com/cnwutianhao/p/6557571.html
Android Developers often use the adb command to push, pull, install, and view databases. Record the adb configuration process for future use.
Before configuring adb, open the Windows command handler (cmd) and enter adb. The following occurs:
Follow me to configure adb Environment Variables
1. Computer (Win7) \ This computer (Win8) \ This computer (Win10)-> right-click-> properties-> advanced system settings-> advanced-> Environment Variables
2. Click "new" under "system variables", enter "adb" for "variable name", and enter the path of the sdk tool for "variable value ".
First Path
The second path:
Enter these two paths to the end of "variable value" (Note: Path 1 and Path 2 should be separated by semicolons)
3. Find "Path" in "system variables", click Edit, and enter "; % adb %" at the end of "variable value"
4. test whether the adb environment variable is configured successfully.
Open the Windows command processing program (cmd) and enter adb. If so, the configuration is successful.
Follow my Sina Weibo website to learn more about Android development!
Focus on science and technology critics, learn about science and technology, innovation, education, and maximize human wisdom and imagination!