Ask Your Question

How to install Android development libraries on Fedora 20(64bit)

asked 2014-01-29 01:09:03 -0500

roshu10 gravatar image

updated 2014-01-29 05:52:44 -0500

NickTux gravatar image

Hi all, I am trying to setup the android development environment. but unable to start the emulator because of 64 bit,

I,ve checked many question in this forum:

but my question is:

1)should i have to install all those libraries? Since i require 32bit libraries only for android development.

2)If i try to install some of the libraries specified in other question, I am getting the following error:

Protected multilib versions: libstdc++-4.8.2-7.fc20.i686 != libstdc++-4.8.2-1.fc20.x86_64
Error: Protected multilib versions: libgcc-4.8.2-7.fc20.i686 != libgcc-4.8.2-1.fc20.x86_64
Error: Protected multilib versions: nss-softokn-freebl-3.15.4-1.fc20.i686 != nss-softokn-freebl-3.15.2-2.fc20.x86_64

Thanks for any help !

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2014-01-29 05:48:31 -0500

NickTux gravatar image

updated 2014-01-29 05:49:04 -0500

There is no need for a package like ia32-libs in Fedora anymore. Most of packages can be installed through the process. Yum will resolve all the dependencies. In case of a program that is not packaged on some repository, you must find the dependencies and you can install them like

sudo yum install xxx-x.fc20.i686

As for the error you receive about multilib protected , try to execute the following commands

sudo package-cleanup --dupes
sudo package-cleanup --cleandupes
sudo yum clean all 
sudo yum update

The command package-cleanup included in yum-utils package.

Specifically for Android SDK , I would recommend a VM. (i.e virtualbox) and install Fedora 32bit there and do your job without mess up the rest of the system.

Also read this guide carefully → How to setup Android Developement.

edit flag offensive delete link more

answered 2014-02-10 20:28:43 -0500

sergiomb gravatar image

about point 2 you may do :

yum update --setopt=protected_multilib=false

but see the problem the version of i686 and x86_64 don't match , I got:

rpm -q libstdc++

another thing Fedora already comes with android tools , adb stuff etc

repoquery android-tools -l
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-01-29 01:09:03 -0500

Seen: 3,713 times

Last updated: Feb 10 '14