Windows 7:

Install JDK

Download JDK from Oracle website:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

 

Click on the above URL and open it in the browser

Accept the license agreement

Click on the download link as shown in the screenshot

 

 

Set/update Java Home and PATH environment variables.

Important! Make sure you do not have leading or trailing spaces in the Path variable when you copy paste your installation folder path!

 Right mouse click on Computer and select Properties as shown in the below screenshot

Click on the Advanced system settings. It opens System Properties window as shown in the below screenshot. Click on the Advanced tab. Click on the Environment Variables button

In the Environment Variables window click on the New button for System variables as shown in the below screenshot.

In the Add System Variable window, add new variable name as JAVA_HOME and Variable value as folder path where JDK is installed in Step 1 and click on the OK button.

Step 1:  Add variable name as “JAVA_HOME”
Step 2:  Add folder path where jdk is installed
Step 3:  Click the OK button

Select PATH system variable and click on Edit button

In the Edit System Variable window, click on the Variable value textbox and go to an end. Add semicolon and add value as “%JAVA_HOME%\bin”

Install Ant from Apache website

Navigate to http://ant.apache.org/bindownload.cgi and download the ‘.zip’ archive file on your machine. Unzip it after download completes.

 

Set/update ANT_Home and PATH variables.

Important! Make sure you do not have leading or trailing spaces in the Path variable when you copy paste your installation folder path!

 

1.       Right mouse click on Computer and select Properties as shown in the below screenshot

2.       Click on the Advanced system settings. It opens System Properties window as shown in the below screenshot. Click on the Advanced tab. Click on the Environment Variables button

3.       In the Environment Variables window click on the New button for System variables as shown in the below screenshot.

4.       In the Add System Variable window, add new variable name as ANT_HOME and Variable value as folder path where ANT is installed and click on the OK button

5.       Select PATH system variable and click on Edit button
 

6.       In the Edit System Variable window, click on the Variable value textbox and go to an end. Add semicolon and add value as “%ANT_HOME%\bin”

 

 

Install Android SDK

Navigate to http://developer.android.com/sdk/index.html#ExistingIDE

Open the link and simply click on the Download the SDK button. After download completes unzip the downloaded files.

 

Set/update Android SDK environment variables

Important! Make sure you do not have leading or trailing spaces in the Path variable when you copy paste your installation folder path!

1.        Select PATH system variable and click on Edit button

2.       In the Edit System Variable window, click on the Variable value textbox and go to an end. Add semicolon and add value for

a.       <Android SDK installation folder>\tools followed by semicolon

b.      <Android SDK installation folder>\platform-tools followed by semicolon

c.       <Android SDK installation folder>\build-tools

Restart your machine