Android SDK and Eclipse ADT on Fedora 16/15, CentOS/RHEL 6 - Comment Page: 2
This is guide howto install Android SDK Tools r16 and Eclipse ADT (Android Development Tools) Plugin on Fedora 16, Fedora 15, Fedora 14, Fedora 13, CentOS 6.2/6.1/6 and Red Hat (RHEL) 6.2/6.1/6.
This Guide Contents
1. Preparing Your Development Computer and Install Required softwares
2. Install Andoid SDK
3. Install ADT Plugin for Eclipse
4. Configure Eclipse and Install Latest Android SDK with AVD Manager
5. Create Simple Android Test Project
1. Preparing Your Development Computer and Install Required softwares
1.1 Install Sun/Oracle Java 7 JDK/JRE
1.2 Install Eclipse SDK 3.7 (Indigo)
2. Install Andoid SDK
2.1 Change root user
su -
## OR ##
sudo...
everythink work s as described under CentOS 5.5 also for android version 2.3, except for the emulator:
[2010-12-19 12:22:20 – Emulator] /opt/android-sdk/tools/emulator: /lib/libc.so.6: version `GLIBC_2.8′ not found (required by /opt/android-sdk/tools/emulator)
[2010-12-19 12:22:20 – Emulator] /opt/android-sdk/tools/emulator: /lib/libc.so.6: version `GLIBC_2.7′ not found (required by /opt/android-sdk/tools/emulator)
[2010-12-19 12:22:20 – Emulator] /opt/android-sdk/tools/emulator: /lib/libc.so.6: version `GLIBC_2.11′ not found (required by /opt/android-sdk/tools/emulator)
Hi ur,
This is new problem with CentOS 5.5 and Red Hat (RHEL) 5.5. It appears that the Android SDK’s one requirement is now Glibc 2.11 and CentOS 5.5 and Red Hat (RHEL) 5.5 uses Glibc 2.5.
This is one “hack” howto get it working with Android SDK r08:
Do you got it working with this or found any other problems?
[…] http://www.if-not-true-then-false.com/2010/android-sdk-and-eclipse-adt-on-fedora-centos-red-hat-rhel… […]
Thanks very mutch for this article, i was having a bad time trying to making this work under fedora 14. Adding the Helios url and then updating fixed everything
/emulator: /lib/libc.so.6: version `GLIBC_2.8′ not found (required by ./emulator)
./emulator: /lib/libc.so.6: version `GLIBC_2.7′ not found (required by ./emulator)
./emulator: /lib/libc.so.6: version `GLIBC_2.11′ not found (required by ./emulator)
not runing emulator android
ugh busy??
Hi iyant,
I have solution this problem on my post.
Please read Install Android SDK section.
Excellent guide! :)
Hey. Like everyone else, I’m trying to install the Android SDK on my 64 bit Centos. When I get to step 4.1/4.2, I get an error saying “/android-sdk/platforms is missing” and “failed to get the required ADT number from the SDK” So I “ls” my android sdk directory and see I only have ‘tools”.
Was platforms and whatever else suppose to be downloaded in step 3.3 or was it suppose to have come out of the same zip file that the emulator did in 2.3? I notice that in step 2.3 the emulator is referenced specifically.
I did try uninstalling and reinstalling under root to see if that would fix it but to no avail. Any help would be appreciated. Thanks!
Hi Malfroy,
Sorry I forgot add CentOS on Android SDK download row…
You have to complete all following steps on 64 bit CentOS:
Got it working. Thanks for the clarificaiton!
thanks a lot …
Great article.
Just what I needed.
For anyone that sees this message
“Waiting for HOME (‘android.process.acore’) to be launched”
It does take an unfeasibly long time to run the emulator for the first time. Go make yourself a coffee and come back to it.
Great article! This was instrumental in helping me get the SDK installed back a few months ago.
New development – The latest Android SDK (r10) is available, and requires ant 1.8. Fedora 14 only offers ant 1.7, even in the third-party repositories. I’m stick at this very point right now :(
Hi Brad,
Nice to see you here and nice to hear that this was helpful to you. :)
And then your problem. I checked that stackoverflow discussion and yes you could install ant easily to /opt and change Eclipse settings. It should work, but another (more Fedora style) method is use yum package management system and Fedora rawhide repository.
Install rawhide repo:
Install / Update ant 1.7 to 1.8
Very good
Hi,
Thank you for your tutorial. I have a question about android application. Can I compile android application to run as desktop application. I mean, I wan to compile and running android application as my desktop application.
Thank you
Hi toto,
No you can’t, sorry.
You could run Android application just on Android platforms like:
– Phones
– Tablets
– Emulators
Thanks, your tutorial is by far the best ive stumbled across, and i learned a lot of linux stuff as well. Now if only someone could figure out the R file missing crap ive dealt with for a year id be in heaven =)
Hi Rayn,
Thanks for the compliments. :)
Could you explain in more detail what kind of problems that you have with R file? Have you tried clean your project (Project > Clean…)?
stuck at part install helios repository,everytime i input the address it gives an error..duplicate address…i have tried to remove all sites from preferences>>avilable softwares…and still gives an error,no software found at http://download.eclipse.org/releases/helios.for the record am using a proxy server.
what might be the problem?
thanks..
Hi maks,
Sometimes it works really slowly and need multiple reconnects. I have had same style issues sometimes. Please try to access download.eclipse.org/releases/helios with browser, is it working?
Thanks a lot for such a helpful article . I have been searching for
/opt/android-sdk/tools/emulator: /lib/libc.so.6: version `GLIBC_2.7′ not found (required by /opt/android-sdk/tools/emulator)
error everywhere.
Hello, I was trying to install the android SDK on a centOS 5.5 box and I succesfully installed but when I try to add for example the tools package that allows me to have gprs, touchscreen, gsm support I get a java Language null pointer exception and it disappears when I installed the android sdk tools revision 10, but this tools requires glibc 2.8++ which is impossible to install in this server… what should I do to have all emulator features of Tools rev 10 with the r07 emulator??
regards
UPDATE
There werer no issue, I just reinstalled the rev 10 tools and then I replace the emulator file with the r07version and it worked like a charm.