How to Set Up the ANDROID HOME Environment Variable on Windows 7

From wizarPOS
Revision as of 20:18, 7 January 2024 by Simon (talk | contribs)

Steps to Configure ANDROID_HOME

  1. Access System Properties:
    • Right-click on “Computer” and select “Properties.”
  2. Navigate to Advanced System Settings:
    • In the System window, click on “Advanced system settings.”
  3. Modify Environment Variables:
    • In the System Properties dialog, under the “Advanced” tab, click on “Environment Variables.”
  4. Add the ANDROID_HOME Variable:
    • In the System Variables section, click “New” to create a new variable.
    • Set the variable name as 'ANDROID_HOME'.
    • Set the variable value to the path of your Android SDK installation.
  5. Update the Path Variable:
    • In the System Variables section, locate and select the “Path” variable.
    • Click “Edit” and append the following to the variable value: ';%ANDROID_HOME%;%ANDROID_HOME%\platform-tools;%ANDROID_HOME%\tools'

Important Notes

  • Ensure that the path to the Android SDK is correct to avoid any issues with development tools not being recognized.
  • Appending the SDK paths to the system variable 'Path' allows tools within the SDK to be accessed globally from the command line.