How to configure the ADB environment variable for Android

Updated on technology 2024-04-09
5 answers
  1. Anonymous users2024-02-07

    Method steps.

    The first step is to open the Environment Variable Configuration window. Right-click on the computer, Properties - Advanced System Settings - Environment Variables.

    The second step is to add the Android system environment variables. Click the New button under System Variables, enter the environment variable name android (your own customary name), and import the path of the Android development tool, as shown in the figure

    The fourth step is to test the environment variables.

    In the last step, enter cmd in the runtime and invoke the command operation window. Enter adb to view the running result.

  2. Anonymous users2024-02-06

    First, right-click on "Computer", select "Properties" and click to open.

    Find "Advanced System Settings" in the bottom left corner and click Open.

    Select Environment Variables and click Open.

    Find the Android SDK on your computer, there are two folders in it, platform-tools and tools, and add the paths of these two folders to the variable values, separated by semicolons (note that semicolons are in English).

    Find and select Path.

    Append %android% at the end of the variable value

    OK to save. <>

    Open cmd and enter adb, if the following content appears, it means that the environment variable is set successfully.

  3. Anonymous users2024-02-05

    1. My Computer--Properties--Advanced--Environment Variables--Select System Variables.

    2. Create a new variable named adb (or any other name) in the system variable - the value is the absolute path of your adb.

    3. Find the path variable in the system variable--select--add; %adb (variable name in step 2)%

    4. win+r run cmd -- input adb will have the following content to indicate ok <>

    4. If you enter adb nodaemon server, CTP cant bind 5037 will be prompted

    It shows that port 5037 is occupied, and Songzhou can be easily solved in the field of loss. If you find that the port is killed, ADB still prompts that the port is occupied, which may be caused by too many ADB programs, you can use C: Windows System32 and C:

    The ADB file under Windows System deletes the ridge and keeps only one copy of the ADB package on your computer, regardless of which disk it is. Then drag the adb in the only adb package to the dos command to execute it, and then see if the result is ok.

  4. Anonymous users2024-02-04

    1. My Computer--Properties--Advanced--Environment Variables--Select System Variables 2. Create a new variable named adb (or any other name) in the system variables--the value is the absolute path of your adb.

    3. Find the path variable in the system variable--select--add; %adb (variable name in step 2)%

    4 win+r run cmd -- input adb will have the following content indicating ok4, if you enter adb nodaemon server will prompt ctp cant bind 5037

  5. Anonymous users2024-02-03

    Configure the ADB environment variable for Android as follows:

    1. Right-click on the computer, Properties - Advanced System Settings - Environment Variables, as shown in the following figure

    2. Add the Android system environment variable, click the new button under the system variable, enter the environment variable name android, and import the path of the Android development tool (note that the path must be correct), as shown in the figure

Related questions
6 answers2024-04-09

The kernel of the mobile phone system is Linux, and the Linux kernel is upgraded by upgrading the system version. Upgrade Method: >>>More

5 answers2024-04-09

On the Windows 7 development platform, the Android Studio development tools use the following methods to limit the maximum number of characters that can be entered in EditText. >>>More

3 answers2024-04-09

MVC, MVP and MVVM are the three common architectural design patterns, and the current use of MVP and MVVM is relatively widespread, of course, MVC is not outdated. >>>More

13 answers2024-04-09

Now the mainstream configuration, but the motherboard 3-wire brand is recommended to change to a 1-wire more reliable, such as ASUS.

3 answers2024-04-09

Android is an Android phone.

Android is the name of an open-source mobile phone operating system based on the Linux platform, which consists of an operating system, middleware, user interface and application software, and does not have any exclusive rights barriers that have hindered innovation in the mobile industry in the past, claiming to be the first truly open and complete mobile software for mobile terminals. The future of Android in China is very promising. >>>More