...
- Open the URL: https://developer.android.com/studio/index.html
- Scroll down to bottom.
- In the Get just the command line tools section, download the latest version of SDK tools package for Windows.
- Once downloaded, unzip the file and go to tools > lib.
- Copy AVD Manager.exe and SDK Manager.exe and place it where you have unzipped the original set up file (if not present).
- Launch SDK Manager.
- In the Tools section, select Android SDK Tools and Android SDK Platform-tools.
- Select required Android APIs (if you want to create emulators).
Note: Appium supports API level 17 and above. - 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. Click the Install xx packages... button.
Expand title View Image
Setting Environment Variables
After you download command line tools and platform-tools, you must set environment variables.
To set Environment Variables:
- From desktop, right-click the Computer icon.
- Select Properties from the context menu.
- In the left pane, click Advanced System Settings.
- On the System Properties window, click Environment Variables.
- 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. - If Java_Home is not already set, double-click the JAVA_HOME variable, type the path to JRE/JDK and then click OK.
- 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; - 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:
- From desktop, right-click the Computer icon.
- Select Properties from the context menu.
- In the left pane, click Advanced System Settings.
- On the System Properties window, click Environment Variables.
- 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. - If Java_Home is not already set, double-click the JAVA_HOME variable, type the path to JRE/JDK and then click OK.
- 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; - Click OK.