Android SDK on a 64-bit linux machine

2019-01-04 16:43发布

Is it possible to develop using the Android SDK on a 64-bit linux machine. The available SDK downloads seem to be just for 32-bit versions of Linux.

15条回答
beautiful°
2楼-- · 2019-01-04 16:49

For AWS Linux, I've found the solution in the old AWS Forum post.

sudo yum install mesa-libGL.i686 libXrender.i686 libSM.i686 freetype.i686 libstdc++.i686

查看更多
Anthone
3楼-- · 2019-01-04 16:51

Yes, it is. You need to install the ia32 libraries. Check out the Ubuntu Linux troubleshooting section.

apt-get install ia32-libs
apt-get install sun-java6-jdk
查看更多
ゆ 、 Hurt°
4楼-- · 2019-01-04 16:54

For those who are using Slackware click here.

I tried it with current and it works.

In short, you need to enable 32bit support by installing multilib packages.

Steps:

1) Download the package:

> wget -np -nH -r -A txz,tgz \
> http://slackware.com/~alien/multilib/14.0/

2) install packages:

~/multilib$ \
> cd \~alien/multilib/14.0/
~/multilib/~alien/multilib/14.0/$ \
> su -c "upgradepkg --reinstall --install-new *.t?z"

3) install compatibility packages:

~/multilib/~alien/multilib/14.0/$ \
> su -c "upgradepkg --reinstall --install-new *-compat32/*/*.t?z"

Restart the system and voila.

查看更多
Rolldiameter
5楼-- · 2019-01-04 16:56

For Arch users:
You have to install the lib32-gcc-libs and lib32-ncurses packages which are in the Multilib repository. (Which you have to enable)

pacman -S lib32-gcc-libs  
pacman -S lib32-ncurses
查看更多
Summer. ? 凉城
6楼-- · 2019-01-04 16:56

On CentOS 6.2 I got it working with the following:

yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686

查看更多
淡お忘
7楼-- · 2019-01-04 16:57

On (K)Ubuntu you need following 32-bit packages:

sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

for running the emulator you need that additional package:

sudo apt-get install libsdl1.2debian:i386
查看更多
登录 后发表回答