- Download Android Studio for Windows.
With a single download, the following software will be included:
- Android Studio IDE,
- Android SDK tools,
- Android 5.0 (Lollipop) Platform,
- Android 5.0 emulator system image with Google APIs,
- Android virtual device, and
- Intel Hardware Accelerated Manager (HAXM).
The one I downloaded was put at
C:\users\wenchen\Downloads\android-studio-bundle-141.2117773.exe
- Install the Android Studio.
To set up Android Studio on Windows:
- Launch the
.exe
file you just downloaded.
- Follow the setup wizard to install Android Studio and any necessary SDK tools.
The installation results for my case include
The individual tools and other SDK packages are saved outside the Android Studio application directory.
If you need to access the tools directly, use a terminal to navigate to the location where they are installed, for example,
C:\Users\userid\AppData\Local\Android\sdk\
- (Optional) Download and install the JDK (Java Development Kit).
Before you set up Android Studio, be sure you have installed JDK 6 or higher (the JRE alone is not sufficient)—JDK 7 is required when developing for Android 5.0 and higher.
To check if you have JDK installed (and which version), open a terminal and type “javac -version
.”
If the JDK is not available or the version is lower than 6, go download 64-bit JDK.
The one I downloaded is
C:\Users\wenchen\Downloads\jdk-8u51-windows-x64.exe
On some Windows systems, the launcher script does not find where Java is installed.
If you encounter this problem, you need to set an environment variable indicating the correct location.
Select
Start menu ⇒ Control Panel ⇒ System and Security ⇒ System
Then open
Advanced system settings ⇒ Environment Variables
and add a new system variable JAVA_HOME
that points to your JDK folder, for example,
C:\Program Files\Java\jdk1.8.0_51\