Setting the ANDROID HOME Variable
You must set the ANDROID_HOME and the path environment variables after installing the different packages.
To set the ANDROID HOME variable
Open the Environment Variable.
Right-click My Computer, select Properties, and then select Advanced system settings.
Go to the Advanced tab, and click Environment Variables.
Click New under User Variables for <USERNAME>, and on the New User Variable dialog box that appears:
Enter the following Variable name:ANDROID_HOME
Enter the following Variable value: C:\SDK (SDK folder path)
Note: The SDK folder path might vary depending on the SDK folder locationClick OK to close the New User Variable dialog box.
Click OK to close the Environment Variables window.