Ask Your Question
2

Installing android-sdk on 64-bit Fedora

asked 2012-03-15 22:31:10 -0500

Jason gravatar image

updated 2013-09-10 09:03:45 -0500

FranciscoD_ gravatar image

I'm having trouble installing the Android sdk in Eclipse. I'm running 64-bit Fedora which may be related.

This question is semi-related: http://ask.fedoraproject.org/question/365/how-do-i-install-32bit-libraries-on-a-64-bit

I'm getting this error in eclipse:

[2012-03-15 17:07:21 - DDMS] DDMS files not found: /home/jason/platform-tools/adb /home/jason/tools/hprof-conv /home/jason/tools/traceview 
[2012-03-15 17:08:38 - adb] Failed to get the adb version: Cannot run program "/home/jason/programs/android-sdks/platform-tools/adb": java.io.IOException: error=2, No such file or directory

And when I run adb from the command line I get: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory which seems to be related to 64-bit versus 32-bit.

edit retag flag offensive close merge delete

Comments

Well, I had the same problem under F17, and I fixed it following the steps Jason gave, with the downgrade correction given by kedzie. And now mine works, too.

Even nicer to notice, I see that though Fedora calls it a 'downgrade', typing "yum info libstdc++*" shows that it really does leave both the original 64 bit and the 'downgrade' to 32 bit installed.

mejohnsn gravatar imagemejohnsn ( 2013-06-21 20:39:33 -0500 )edit

Thanks Jason - old post I know but you just helped this linux n00b complete setting up of ADB on a new Fedora 19 installation. Much appreciated!

To simplify, you can just run the following one-liner:

sudo yum install libstdc++.i686 ncurses-libs.i686 zlib.i686

jBainesy gravatar imagejBainesy ( 2013-09-10 08:20:13 -0500 )edit

6 Answers

Sort by ยป oldest newest most voted
2

answered 2012-03-15 22:50:37 -0500

Jason gravatar image

updated 2012-03-16 00:24:26 -0500

After looking at the answer to the other question a little more deeply it looks like these are the libraries I need:

sudo yum install libstdc++.i686
sudo yum install ncurses-libs.i686
sudo yum install zlib.i686

And it seems to be working!

edit flag offensive delete link more

Comments

yum install zlib.i686 did the work.! Thanks for all this. This saved my day. Now I can sleep tonight. I was about to pull my hair. Cordova was working fine at my office. Only now I could get it working on my Home PC

vishva8kumara gravatar imagevishva8kumara ( 2016-03-13 11:08:33 -0500 )edit
0

answered 2012-05-12 17:13:48 -0500

kedzie gravatar image

updated 2012-05-12 17:15:04 -0500

On Fedora 17 you won't be able to install libstdc++.i686 due package version constraints. The solution is to do:

yum shell    
downgrade libstdc++   
install libstdc++.i686  
run
edit flag offensive delete link more
0

answered 2012-08-09 20:07:34 -0500

Thanks, this solves half of my problem XD, the other half here http://stackoverflow.com/questions/10005907/eclipse-android-plugin-libncurses-so-5/11894126#11894126

if any one have this problem too

edit flag offensive delete link more
0

answered 2012-11-26 03:20:40 -0500

Jomoos gravatar image

Although late, here is what I did. I was also ran into the problem of running android-sdk on my 64-bit fedora 17. Searching on Google take me to this link: HOWTO Setup Android Development and it worked for me. Here is the important section from there:

If you have 64-bit systems, you will need to install some 32bit packages, because Android SDK is 32bit.

yum install glibc.i686 glibc-devel.i686 libstdc++.i686 \
            zlib-devel.i686 ncurses-devel.i686 \
            libX11-devel.i686 libXrender.i686 \
            libXrandr.i686
edit flag offensive delete link more
0

answered 2015-08-19 20:26:58 -0500

heron gravatar image

Fedora 21 3.17.4-301.fc21.x86_64
yum install libstdc++-static.i686
yum install libstdc++.i686

edit flag offensive delete link more
0

answered 2015-12-07 02:36:52 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hi everybody,

I recently upgrade from Fedora 20 to 21 and tried to install eclipse . I ran it and this is what I get .

JVM terminated. Exit code=14 /usr/bin/java -Xms128m -Xmx1024m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Declipse.p2.skipMovedInstallDetection=true -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20150304-1110.jar -os linux -ws gtk -arch x86_64 -showsplash /usr/lib64/eclipse//plugins/org.eclipse.platform_4.4.2.v20150304-1109/splash.bmp -launcher /usr/lib64/eclipse/eclipse -name Eclipse --launcher.library /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150304-1110/eclipse_1608.so -startup /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20150304-1110.jar --launcher.appendVmargs -exitdata 150006 -protect master -vm /usr/bin/java -vmargs -Xms128m -Xmx1024m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Declipse.p2.skipMovedInstallDetection=true -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20150304-1110.jar

What must I do because I especially want to create AVD's?

P.S :I even tried to installed the packages above mentionned in the thread but I was unable to install them. Thank you for your tine and help in advance.

Caron Rodrigues Island Republic of Mauritius Indian OCean

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-03-15 22:31:10 -0500

Seen: 31,404 times

Last updated: Sep 10 '13