In this tutorial we will be setting up a working/compiling environment for our Android Apps. This guide will cover Linux and Windows systems.
Setting up Eclipse:Download Eclipse 3.6 from
here (if you are using Ubuntu,
DO NOT use the software center to download Eclipse as it is missing some dependencies).
Linux:You will have a
.tar.gz file. Extract its contents to your home directory.
To run Eclipse open up a new terminal window and type in this:
cd eclipse
./eclipseWindows:Just run the executable and follow the instructions on screen.
That's it. You should have Eclipse 3.6 up and running now.
Setting up the Android Development Tools plugin:Now that you have Eclipse already running, at the top menu press Help > Install New Software...Then press
Add... and fill in the fields as follows:
Name:
AndroidLocation:
https://dl-ssl.google.com/android/eclipse/Then press
OK. You should see the software now appearing in the list.
Tick all the boxes available. And press
Next >.
Whenever it will ask you something, just tick
Accept All. and press
Next or
Finish. The on-screen instructions should guide you perfectly from there.
When the setup is complete restart Eclipse. It should prompt you to download the SDK files. Select the ones which you are going to develop for.
If you require any other SDK/API which is not offered during the installation of the ADT, press
Window > Android SDK Manager. From there you can choose which APIs do you want to install.
You can also choose to download examples of code, which may be useful if you are just a beginner Android App Development.
Questions are welcome.