- Click 2 times on the installation file jdk-6-windows-i586.exe
- It will show the License Agreement dialog box, select / click the Accept button
- Next will appear Custom Setup dialog box (ignore it), click the Next button.
- It will show the JDK installation process.
- Once the JDK is installed, will appear again JRE installation options. Directly we just click Next.
- It will show the JRE installation process.
- Wait until the installation process is complete JRE Wizard Complete dialog box appears, click the Finish button.
After the Java JDK installation process is complete, then we'll do a little settings as follows :
Open Windows Explorer, then right click on Computer and select Properties.
It will show the Environment Variables dialog box. In the User variables section, click the New button
Repeat steps 3 and 4 to create a New User variable again, fill in Vaiable name: PATH and Variable value: C:\Program Files\Java\jdk1.6.0\bin;. then click the OK button
Repeat steps 3 and 4 to create a New User Variable again, fill in the Variable name: CLASSPATH and Variable value: C:\Program Files\Java\jdk1.6.0\lib\tools.jar;. then click the OK button
So now should have already formed three new Variable user Environment Variables
- java [ENTER]
- javac [ENTER]
- java -version [ENTER]
Android SDK is a tool API (Application Programming Interface) that is necessary to begin developing applications on the Android platform using the Java programming language.
Resource SDK for Android can be downloaded directly HERE.
To simplify the installation phase, you can copy the Android SDK folder to folder C:\Program Files on your computer as a place to hold the files Android SDK.
Android SDK folder location of the position we need to remember, because then when will link the Android SDK positions us as the Eclipse IDE coding applications which we will use later in making Android program.
Next, we will install Eclipse as the IDE to create the Android program. Eclipse is an IDE for developing Java/Android that are free please download HERE.
To run Eclipse, you can do so by clicking 2 times eclipse.exe file located in the folder C:\Program Files\eclipse.
Next we will install ADT or better known as Eclipse plugins, plugins serves to make the eclipse is connected with the Android SDK, so that we can make Android program through Eclipse.
ADT is an extension of the Android Development Tools as a bridge between the Eclipse IDE with the Android SDK. After installation is complete we can do the installation Eclipse ADT to download the file HERE
First, run the program by clicking 2 times eclipse.exe file located at C:\Program Files\eclipse.
Then click the Help menu - Install New Software, it will show a dialog box to install. Next, click the Add button on the Work with, it will show a dialog box to install. Next, click the Add button on the Work with, it will show the Add Repository dialog box, click the Local button, then locate the folder ADT-21.1.0 located at C:\Program Files, if you have found will appear at the Location, then click OK button. Then click on the Developer Tools to give a check, and then click the Next button.
Furthermore, will appear Review Licenses dialog box, select the I Accept. then click the Finish button. After that there will be the installation process and restart Eclipse program to make changes after the installation process ADT.
After ADT has successfully installed, we will connect with the Android SDK Eclipse IDE. How, click on the menu Windows - Preferences and select Android in a window on the left and on the right part of the window do Browse SDK Location located at C:\Program Files\Android SDK, then click the Apply button, it will show Android 2.3.3 and Android 4.0.3 on the target name.
Furthermore, we will make the Android Virtual Device (AVD) is an emulator for running Android applications program that we created. The AVD will we make media test to run Android applications that we created, where AVD running in a Virtual Machine.
To make AVD can be done from the Eclipse IDE by clicking on the menu Windows - Android Virtual Device Managers, and then click the New button. Next, create a second emulator with the settings as in the picture
Next, create a second emulator with the settings as in the picture
In our tutorial, we will only make two emulator. So, when later we made a program with version 2.3.3, the emulator shown is AVD233 emulator, and vice versa, if a program that is based on Android 4.0.3 then emulaor used is AVD403