How to Set Up the ANDROID HOME Environment Variable on Windows 7
Steps to Configure ANDROID_HOME
- Access System Properties:
- Right-click on “Computer” and select “Properties.”
- Navigate to Advanced System Settings:
- In the System window, click on “Advanced system settings.”
- Modify Environment Variables:
- In the System Properties dialog, under the “Advanced” tab, click on “Environment Variables.”
- 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.
- 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.