Step by step: Starting with Android SDK, Eclipse, & Java

So I thought I’d elaborate a little bit more on how to get started with Android’s SDK using Eclipse & Java.

After downloading these files

do this:

1) Install Java JDK. I have the following file: jdk-6u20-windows-i586.exe

2) Unzip the Android SDK. I have the following archive: android-sdk_r06-windows.

Go into the newly created file and run: SDK Setup.exe

If you see an error message like: “Failed to fetch URL https://dl-”… It’s ok, don’t worry. Hit the close button. Another window pops open: “Choose Packages to Install.” Cancel that one as well.

In the main window “Android SDK and AVD Manager” go to Settings. Click under Misc: “Force https://”…

Go to “Available packages”

Click on Accept All then click Install.

It’ll now start downloading a lot of stuff! So wait a bit. When it’s done click on close.

3) Unzip the Eclipse archive. I have this file: eclipse-java-galileo-SR2-win32. Go into the directory and run eclipse.exe

Next, taken from: http://developer.android.com/sdk/eclipse-adt.html

In Eclipse, open the help menu, then click on “Install New Software.”

Click “Add.”

For name enter Android plugin, and url enter: https://dl-ssl.google.com/android/eclipse/

In the check box item that appears, click a check in it! Then hit next, then next again. Check “I accept the terms of the license agreements” and hit Finish. This might take a little while! During the process you might get a message asking if you want to continue with unsigned content. Click ok! Accept the certificates and continue. Just like that, you’re done. Allow the program to restart itself.

Go to Window -> Preferences.

Go to Android and browse to the location of the Android SDK step #2. Hit apply and then ok.

You should now be good to start a new android project!

Leave a Reply

You must be logged in to post a comment.