Versions Compared

Key

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

...

  1. Open the URL: https://developer.android.com/studio/index.html
  2. Scroll down to bottom.
  3. In the Get just the command line tools section, download the latest version of SDK tools package for Windows.
  4. Once downloaded, unzip the file and go to tools > lib.
  5. Copy AVD Manager.exe and SDK Manager.exe and place it where you have unzipped the original set up file (if not present).
  6. Launch SDK Manager.
  7. In the Tools section, select Android SDK Tools and Android SDK Platform-tools.
  8. Select required Android APIs (if you want to create emulators).
    Note: Appium supports API level 17 and above.
  9. In the Extras section, select Intel x86 Emulator Accelerator (HAXM Installer) and Google USB Driver.
    Note: If it is not compatible with Windows, install it separately.
  10. Click the Install xx packages... button.

    Expand
    titleView Image

Setting Environment Variables

After you download command line tools and platform-tools, you must set environment variables.
To set Environment Variables:

  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 set its path where you have unzipped the Android command line tools and then click OK.
    Note: The Android_Home path should not contain any white space.
  6. If Java_Home is not already set, double-click the JAVA_HOME variable, type the path to JRE/JDK and then click OK.
  7. In the System Variables section, select the PATH variable and type the path to 'Platform-tools' from the folder where command line tools are saved.
    For example: D:\Android\platform-tools;
  8. Click OK.

Installing Intel® Hardware Accelerated Execution Manager (Intel® HAXM)

...

For more information on this, click here.

Setting Environment Variables

After you download command line tools and platform-tools, you must set environment variables.
To set Environment Variables:

  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 set its path where you have unzipped the Android command line tools and then click OK.
    Note: The Android_Home path should not contain any white space.
  6. If Java_Home is not already set, double-click the JAVA_HOME variable, type the path to JRE/JDK and then click OK.
  7. In the System Variables section, select the PATH variable and type the path to 'Platform-tools' from the folder where command line tools are saved.
    For example: D:\Android\platform-tools;
  8. Click OK.