Development Environment Installation Instructions

Getting an Android development environment up and running takes only a few minutes and a few downloads. Detailed instructions can be found at Google's instructions Ingredients:


- First download and install the Java JDK. Make sure you pick a 32bit installer even if you are running a 64bit OS.

- While that is downloading/installing also go get the Android SDK at the link above. This is just a zip file so you don't need to install anything, but do extract it to a location that you plan on working from and note the location for Eclipse.

- Get Eclipse from the link above. Like the SDK it doesn't need to be installed so extract and place the folder somewhere reasonable.

Prep Environment

With the three main parts installed(extracted) now it's time to get it all working.

- Go into your Android SDK folder and run 'SDK Setup.exe'. Once it has started a screen will come up asking you to install a number of different things. If it throws an error when run about https, close the message box and go to the settings page and check 'Force https://... sources to be fetched using http://' then try again.

For our project only api 6(2.0.1) and 7(2.1) work as they include the bluetooth interface. At minimum get these two packages. The documentation for each, the SDK tools, samples, and the USB driver(Windows) should also get installed for a complete environment.

Adding the path to the 'tools' directory is useful if you want to use the Android tools from the console.

At this point you have a working Android environment, but Eclipse makes development much quicker.

- Head to the Eclipse folder and start it up. If this is the first time it asks some environment settings questions. Once it's up and running it now time to install the ADT plugin to install the bridge to the Android tools.

- Go to Help > Install New Software.

- Click Add

- Give a name like 'Android Plugin' and enter '' into the location dialog. Click OK. Again if you have problems try switching https to http.

- In the Available Software view 'Developer Tools' should now be an option. Check it and then click next.

- The next page shows you what you will be installing. Click Next and then Finish after installing dependencies and confirming the signature.

- Restart Eclipse.

With the ADT plugin installed you now need to point it to your Android SDK tools.

- Select Windows > Preferences and select Android from the panel.

- Fill the SDK location by clicking Browse and traveling to the base of your Android SDK folder and click OK.

- Apply the changes.

At this point you should have a working Eclipse Android environment to play with. The Hello World page gives a great starting point.