How to set up Eclipse with Android SDK on Ubuntu linux 9.04/9.10 (updated)
In my first tutorial i will show you how to set up Eclipse 3.5 with Android Development Tools (ADT) on Ubuntu 9.04.
Before we can install the Android SDK, we must install Java. First we open a new terminal window (Applications > Accessories > Terminal).
To install Java, type:
sudo apt-get install sun-java6-bin
If you are on a x86_64 system, you also must install ia32-libs:
sudo apt-get install ia32-libs
For Ubuntu 9.10 users:
Install eclipse from apt-sources, so open a terminal, then:
sudo apt-get install eclipse
Now open up Eclipse, and go to:
Help Menu -> Install New Software
* Add:
https://dl-ssl.google.com/andr
http://download.eclipse.org/da
http://download.eclipse.org/we
http://download.eclipse.org/mo
http://download.eclipse.org/to
http://dl.google.com/eclipse/p
Install these packages, and then you can install adt plugin as well.
we must download Android SDK, located here: http://developer.android.com/s
Now open a terminal again and go to the directory where you've saved the Android SDK and uncompress it, then delete the archive file:
cd /home/joeygeek/Desktop
tar xvfz android-sdk_r04-linux_86.tgz
rm android-sdk_r04-linux_86.tgz
Move to your home directory:
mv android-sdk-linux_86 /home/joeygeek
Go to Window > Preferences. Select Android, and add the SDK Location: /home/joeygeek/android-sdk-lin
Click the Apply and then OK.
New step we update the Android API versions. Select Window > Android SDK and AVD Manager
* See the end of this tutorial...
Ubuntu 9.04 users:
Ubuntu 9.04 repositories only have a package for Eclipse 3.2 - therefore we must install Eclipse 3.5 manually, you can download it from http://www.eclipse.org/downloa
I've chosen the Eclipse Classic Developers for Linux 32bit (select Linux 64bit if you're on an x86_64 system).
Download the file and open a terminal again. Go to the directory, where you've downloaded the Eclipse file, e.g. your desktop (/home/joeygeek/Desktop), and uncompress it:
cd /home/joeygeek/Desktop
tar xvfz eclipse-SDK-3.5.1-linux-gtk.ta r.gz
Afterwards the eclipse directory located on your desktop, i move it to my home directory:
mv eclipse /home/joeygeek
Then you can delete the archive file (if you want):
rm eclipse-SDK-3.5.1-linux-gtk.ta r.gz
Inside the eclipse directory, there is an executable file called eclipse, that's the file you must run to start eclipse.
cd /home/joeygeek/eclipse
./eclipse
Eclipse is asking for a workspace:

After that we must download Android SDK, located here: http://developer.android.com/s
Now open a terminal again and go to the directory where you've saved the Android SDK and uncompress it, then delete the archive file:
cd /home/joeygeek/Desktop
tar xvfz android-sdk_r04-linux_86.tgz
rm android-sdk_r04-linux_86.tgz
Move to your home directory:
mv android-sdk-linux_86 /home/joeygeek
Next, we must install Graphical Editing Framework (GEF) for Eclipse. You can download here: http://www.eclipse.org/gef/
You need GEF to install Android Eclipse plugin later.

Download, unzip then move in to your eclipse directory:
cd /home/joeygeek/Desktop
unzip GEF-ALL-3.5.1.zip
Now we have a new eclipse directory on your desktop, move it to your "real" eclipse directory:
mv -f eclipse /home/joeygeek
Now start eclipse:
cd /home/joeygeek/eclipse
./eclipse
Next, we install the Android Eclipse plugin. In eclipse go to: Help > Install new Software
Click the Add.. button, and type https://dl-ssl.google.com/andr

Then click OK. The middle of the window, there is a checkbox, select Developer Tools (automatically check Android DDMS and Android developer tools)

Then click Finish. The plugins are now being installed. Eclipse must be restarted for the changes to take effect, so when you are asked if you want to restart Eclipse after the installation, you should select Yes. After Eclipse has started again, we must update our Eclipse preferences to point to the Android SDK directory. Go to Window > Preferences. Select Android, and add the SDK Location: /home/joeygeek/android-sdk-lin
Click the Apply and then OK.
New step we update the Android API versions. Select Window > Android SDK and AVD Manager
You should see that:

Sorry for windows window, but i did not want to delete my downloaded apis. :)))
Select all then click Install selected.
After this step you can create a new virtual device, Select Window > Android SDK and AVD Manager, click Virtual Devices. Introducing the Android Emulator, managing Android Virtual Devices (AVD)...
New tutorials from Helloandroid
Recent Apps
Android on Twitter
-
@StephanieNich10 (Stephanie Nichols)#android I laughed so hard at ochocinco 's avi. Hahahaha http://t.co/MPuhhi3m
25 weeks 3 days ago -
@CarlaAtkins8 (Carla Atkins)#android Omg! This is actually f'n interesting http://t.co/JodMOehr
25 weeks 3 days ago -
@MarianMcleod12 (Marian Mcleod)#android Precisely what song is? http://t.co/YmJXU0rB
25 weeks 3 days ago -
@JoBeach15 (Jo Beach)#android haha this made me laugh, i love ted:-) http://t.co/gtcWQ79C
25 weeks 3 days ago -
@aochart3 (青ちゃ)Start playing Paradise Island on Android http://t.co/DEID0Ao5 #Android #Androidgames #Gameinsight http://t.co/e1bifSeL
25 weeks 3 days ago
Poll
Useful resources
Android Development Projects
- Youtube flash video launch from website opened in Android webview by vijayknarang
- android app task done by mamun00001
- Android enhancement by mobileapps07
- Android App for USB webcam video recording by blink311
- Electronics Product Prototype with Andriod & Iphone Interface by IntelliFreelance
- We need an Android Programmer! - repost by forple2013
- Android app for self-serve kiosk by maxish
- Learning App Conversion by VRayGuide
- i need app for my SE x10mini that can record voice call. by reynatoserato
- Ios Project - repost by emmibey




