Configure adb environment variables and adb Environment Variables

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.