I was so happy of the news that I will be working with Google Android Development. Its cool, now I can use my knowledge in Java Programming. I took up one Java Programming course (one semester) when I was in college. So here it is, I wanna share with you my Java comeback experience – with Google Android.
- Java Development Kit (JDK) – http://www.oracle.com/technetwork/java/javase/downloads/index.html (Choose “Download JDK” button and not “Download JRE” because Android requires more than just JRE )
- Eclipse – http://www.eclipse.org/downloads/ (Choose Eclipse IDE for Java Developers which is the first in the list, as of this time, version name to be downloaded is “Eclipse Helios“)
- Android SDK – http://developer.android.com/sdk/index.html (Choose the latest version installer_r10-windows.exe which is recommended). The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.
- Android Development Tools (ADT) – http://developer.android.com/sdk/eclipse-adt.html#installing (I prefer downloading the zip file first (which is ADT-10.0.1.zip as of now), than installing it in default or via URL, it offers less errors). ADT is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends the capabilities of Eclipse to help you quickly develop new Android projects
- JDK – I got this file after downloading: jdk-6u24-windows-i586.exe. This is the first one to be installed
- Unzip Eclipse Helios to your desired location. I placed mine in C:, then create a shortcut of eclipse.exe to desktop so that it will be easy to find and run on next start up of your computer.
- I got installer_r10-windows.exe for Android SDK. I installed mine in C:ANDROID-SDK. Close Android SDK and AVD manager first if it pops out.
- On eclipse, go to Help > Install New Software then click the Add Button on the pop up.
- On the Add Repository pop up, click the Archive Button then browse the ADT Plugin (ADT-10.0.1.zip) we have downloaded earlier, specify a local name (i.e. Android Plugin) then click OK.
- You can now see the Developer Tools check box, tick it and click the Next Button. Wait for several minutes while it loads.
- Click on Next > Accept the terms of license agreement > Finish > Eclipse will install the software OR you have to Tick Always run in background check box > Click Run in background button.
- Wait for eclipse to load/install new software (see the status on the lower right corner). After that it will prompt you to restart eclipse, please restart eclipse.
- Set Up android SDK location: Window > Preferences > Browse your SDK Location. Mine is C:ANDROID-SDK since this is where I installed my SDK (third bullet of Step 3).
- On eclipse, go to Window > Android SDK and AVD manager > Select Available Packages on the left bar > Explode Android Repository > Tick the platform that you want to use (I ticked SDK Platform Android 1.6, API 4, revision 3 for now) > Click Install selected > Accept Radio button > Install button > Wait for the platform to be downloaded.
If you think I missed something in this post, you can ask about it by leaving a comment below.