Creating an Android application requires that additional supporting software be installed on the development machine
Download JDK from the Oracle website as shown:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Important! Make sure you do not have leading or trailing spaces in the Path variable when you copy/paste your installation folder path!
Step 1: Open the System Properties from the Control Panel.
Step 2: Click the Advanced system settings link on the left hand side which opens System Properties. In the System Properties window, click the Environment Variables button
Step 3: Click the New button in the Environment Variables window.
Step 3: Add a new variable named JAVA_HOME with the value of the folder path where JDK is installed in Step 1 and click the OK button.
Step 4: Select the PATH system variable and click the Edit button
Step 5: In the Edit System Variable window, click the Variable value textbox and go to the end. Add a semicolon and add the value “%JAVA_HOME%\bin”
Go to the link http://ant.apache.org/bindownload.cgi, download the ‘.zip’ archive, and unzip it.
Important! Make sure you do not have leading or trailing spaces in the Path variable when you copy/paste your installation folder path!
Step 1: Right mouse click Computer and select Properties.
Step 2: Click the Advanced system settings to open System Properties. Click the Advanced tab. Click the Environment Variables button
Step 3: In the the Environment Variables window click the New button for System variables.
Step 4: Add the variable name ANT_HOME and with the value of the installation folder where ANT in installed
Step 5: Select the PATH system variable and click the Edit button
Step 6: In the Edit System Variable window, click on the Variable value textbox and go to the end. Add a semicolon and add value as “%ANT_HOME%\bin”
Step 1: open the link http://developer.android.com/sdk/index.html#ExistingIDE
Step 2: Click the “Download the SDK” button and unzip the downloaded files.
Important! Make sure you do not have leading or trailing spaces in the Path variable when you copy/paste your installation folder path!
Step 1: In the Environment Variables window of the System properties,select the PATH system variable and click on the Edit button.
Step 2: In the Edit System Variable window for PATH, add a semicolon and the following values at the endof the current value.
<Android SDK installation folder>\tools followed by semicolon
<Android SDK installation folder>\platform-tools followed by semicolon
<Android SDK installation folder>\build-tools
Step 3: Restart your machine