Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. From desktop, right-click the Computer icon.
  2. Select Properties from the context menu.
  3. In the left pane, click Advanced System Settings.
  4. On the System Properties window, click Environment Variables.
  5. In the User Variables section, create new variable as ANDROID_HOME and enter the path of Android SDK
    To find the Android SDK location, launch Android Studio > File > Settings. Copy the path specified in Android SDK Location.
    For example: D:\Android
  6. Click OK.
    Note: The Android_Home path should not contain any white spaces.
  7. If Java_Home is not already set, create a new variable as JAVA_HOME, type the path to JRE/JDK and then click OK.
  8. In the System Variables section, select the PATH variable and type the path to 'Platform-tools' from the Android SDK location (which you added in the step 5 above).
    For example: D:\Android\platform-tools;.
  9. In the System Variables section, select the PATH variable and type the path to 'tools' from the Android SDK location (which you added in the step 5 above).
    For example: D:\Android\tools.
  10. Click OK.