Installing the Eclipse IDE and Android SDK to build Android apps on Windows 7 64-bit

I just got the new Motorola Droid and I love it!  Naturally I want to try my hand at building my own apps for it.  I have no idea if I’ll have the time to stick with it but below is the step by step to get the “stuff” installed so you can begin.

If you’re looking for how to create a new android project with Eclipse go check out Part 2.

Sites I used along the way for help

Preparation (getting the files)

My setup (for reference):

  • Windows 7 Professional (64-bit)
  • Intel Quad Core Q6600
  • 8GB RAM

Things you’ll need:


Installing Eclipse

Install the Eclipse IDE by extracting the .zip file and then paste the “eclipse” folder inside into the root of your C:\ drive.

Extracts like this Paste the “eclipse” folder here
image image


Installing the JRE

Install the Java Runtime Environment (JRE) with all the defaults.

Edit the Windows Environment Variable PATH to include the javaw.exe location

  • Hit the start button and search for “environment variables”
  • Choose “Edit the System Environment Variables” and you’ll see the window below.  Then click on the button at the bottom that says “Environment Variables”
    image image
  • Choose the “path” variable and click Edit.
  • I found it easier to copy out the value to notepad and work with it there. Be very careful though.  You don’t want to lose anything.  Add the following to the end of the string:  ;%PROGRAMFILES%\Java\jre6\bin.  Don’t miss that semicolon at the beginning. You’ll need it to separate your new string from the stuff that was already there.
  • After you’ve added the text click OK until everything is saved.

Running Eclipse

Now let’s try to fire up Eclipse and see if it’s happy.  Just go to the “eclipse” folder you created earlier and run eclipse.exe.

  • Success looks like this and asks you to select a workspace.  I agreed to the default and said OK.
  • If you got an error message please make sure that you installed both a 64-bit JRE and the 64-bit Eclipse IDE.

Install the Android SDK

Install the Android SDK by extracting the .zip file and then paste the “android-sdk-windows” folder inside into the root of your C:\ drive.

Extracts like this Paste the “android-sdk-windows” folder here
image image

Next you need to add onto the PATH Environment Variable like we did up above for the JRE.  This time you want to add: ;%HOMEDRIVE%\android-sdk-windows.

Now, in Eclipse, go to Help >> Install New Software..
image   image

In the new box that pops up click the “Add” button on the top-right and you’ll see the box below.

Type in the following and click OK.

After a little bit (progress bar in the lower right of the Eclipse window) you should see “Developer Tools” as a new option.

Check the “Developer Tools” box and click next using the defaults until it has been installed.
image image image image

After it finishes installing you must restart Eclipse to use the Android Development Tools (ADT).


Now What?

I haven’t touched on the actual development of an Android app but I’m not sure I need to.  There’s great documentation for a “Hello World” app at  I only constructed this tutorial to show that getting ready to develop for android is pretty easy.

 UPDATE – I just created my first android app and the process can be found here.  It picks up right where this post leaves off.

  1. Great idea, thanks for this tip!

  1. December 3rd, 2009

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: