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/android/eclipse/
http://download.eclipse.org/datatools/updates
http://download.eclipse.org/webtools/updates/
http://download.eclipse.org/modeling/emf/updates/releases/
http://download.eclipse.org/tools/gef/updates/releases/
http://dl.google.com/eclipse/plugin/3.5 (think this one's optional)
Install these packages, and then you can install adt plugin as well.
we must download Android SDK, located here: http://developer.android.com/sdk/index.html
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-linux_86
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/downloads/.
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.tar.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.tar.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/sdk/index.html
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/android/eclipse/ to Location textbox. You can add a name your new site, e.g. call it "android" :)

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-linux_86
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)...






Comments
Ubuntu by himself
Thanks for this tutorial because I don't found one on official site Ubunto.
jeux
The Eclipse must be restarted
The Eclipse must be restarted for the changes to take effect, so when you are asked if you want to restart Eclipse after the installation.,.Thank you,.web design
The plugins are now being
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.
superena
For the changes to take
For the changes to take effect Eclipse must be restarted. Select "yes" when you are asked if you want to restart Eclipse after the installation. Superena Italiensk lotterie
For a long while going back
For a long while going back to Ubuntu 9.04, 9.10, and even the latest ... Android Open Source Project as well as application development with the Android SDK ....
Thanks
usa business directory
This post is really very nice
This post is really very nice as it is well written and has provided many useful particulars and information about the topic. I am waiting for such more posts made by you in future!
bwin
Awesome creation
it's compatible with the new version i have. Therefore it's not gonna be a problem to me
coklat lebaran coklat valentine coklat tips kecantikan kecantikan Belajar Internet Marketing Belajar Internet Marketing beasiswa s1 Web Studio Indonesia Sarang walet
the android development tools
the android development tools are difficult to master, but any explantion is useful and aiisists us newbies. belfast restaurants
As this is not a "link", do
As this is not a "link", do you need to go to the DOS prompt? What do you mean by "terminal"? Website promotion
Error
Even i got a 404 error
But after a restart it was working fine
for my site .
Great help bro thanks for the post
Keep writing about eclipse .
best ptc sites Paying ptc sites Meego development Meego application development
on ubuntu
Did not work. I got a 404 when I tried the site.
magnets
I tried this site and it didn't load anything either.
Eclipse must be restarted for
Eclipse must be restarted for the changes to take effect, so when you are asked if you want to restart Eclipse after the installation.
News and Entertainment, Sell and Buy
Thanks for the cool tutorial.
Thanks for the cool tutorial. However, where can I get Eclipse application? Thanks.
memory foam guide
location automobile
Hello,I love reading through your blog, I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.
location automobile
Thanks
Thanks for the tutorial. It worked like a charm.
Bollyplex
Android Open Source Project
Android Open Source Project as well as application development with the Android SDK .
Youtube Videos
cool vids man
The vids are cool
i liked them , specially the one which showed the actual coding
:) thanks
PTC sites paid to click Meego app developers
awesome tutorial..thanks for
awesome tutorial..thanks for posting.
iPad Games Downloads
Great article
Great info, nice article. Thanks for sharing.
HostGuin | DWKZONE | Vegetarian Info
I Like this
I could not have used better words . This is a area that is that matters to me and I thought you covered it impeccably. I recently started blogging as well but I’m not veryskilled at it yet. Would fancy to read more of your website and I’ll definitely return once more!
News | Travel | Health body | Autos | Technology | Azka | Business
I've been following your
I've been following your posts for a while now and I gotta say that your older articles don't offer as much insight as the newer articles. You have a lot more ideas and originality now, your writing is constantly improving.
Banking Info | Smart Review | Budget News
great tutorial
its very cool
thans for the info
rickyeka
this is a good post...helpful
this is a good post...helpful for me...
iPad jailbreak
For a long while going back
For a long while going back to Ubuntu 9.04, 9.10, and even the latest ... Android Open Source Project as well as application development with the Android SDK . travel neck pillow
Eclipse must be restarted for
Eclipse must be restarted for the changes to take effect, so when you are asked if you want to restart Eclipse after the installation.
Video production
Great news
I had problem with ubuntu, now it's barely solved. It will help my app dev for french properties for sale by owners !
his is not a LINK, does one
his is not a LINK, does one need to go to the DOS PROMPT ...nice though
scooby doo games
Great Tutorial
Thanks for sharing this. I have been searching for tutorials on how to set eclpise.
Matthew Proman
Thx this tutorial help me to
Thx this tutorial help me to resolve my problem !
Money Tips Website
thank you
Thank you, that will help my developpement
Film d'horreur
Pretty fast !
Everything worked fine for me, thanks !
Le blog référence français sur l'iPad d'Apple
This is helpful...
I am having a problem though. When I try to configure JRE I'm getting
Package configuration
????????????????????????? Configuring sun-java6-bin ?????????????????????????
? ?
? its subject matter. It supersedes all prior or contemporaneous ?
? oral or written communications, proposals, representations and ?
? warranties and prevails over any conflicting or additional terms ?
? of any quote, order, acknowledgment, or other communication ?
? between the parties relating to its subject matter during the term ?
? of this Agreement. No modification of this Agreement will be ?
? binding, unless in writing and signed by an authorized ?
? representative of each party. ?
? ?
? ?
? For inquiries please contact: Sun Microsystems, Inc., 4150 Network ?
? Circle, Santa Clara, California 95054, U.S.A. ?
? ?
? DLJ v1.1 27APR2006ANS ?
?
?
It won't go past this and I can't tell it ok. Any suggestions?
NVM i figured it out:)
Very difficult
Thank for your tutorial because it's very difficult to make it.
chenille caoutchouc
Nice
Thanks for the tutorial! No problem on ubuntu.
Really useful
Same problem on ubuntu 9.10... I need help please...
Expertise immobilier
Awesome !
You made my day !
Great Tuto ;)
Joe from Femmes sexy de Footballeurs & Blog Auto
Nice !
Really good tutorial. Thank you for sharing. I'll do it too.
choix abri piscine
wow`````this is a good
wow`````this is a good post...helpful for me..thank you for your post..
Location of Product/Navigation/ Code word: "Terminal"
Since this is not a LINK, does one need to go to the DOS PROMPT (is that what "TERMINAL" means in your instruction)?
josh2021: It's not a link.
josh2021: It's not a link. http >>> s <<<://dl-ssl.google.com/android/eclipse/ you should type to eclipse Help > Install new Software section
on ubuntu
on ubuntu 9.10
http://dl-ssl.google.com/android/eclipse/
Did not work. I got a 404 when I tried the site.
I tried this site and it didn't load anything either.
http://dl-ssl.google.com/android/eclipse/site.xml
Maybe I am doing something wrong. I Followed the instructions.
i think it's fully compatible
i think it's fully compatible with 9.10 :)
It's a really nice
It's a really nice tutorial.
Can I ask you, to write tutorial for Ubuntu 9.10?