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条回答
贼婆χ
2楼-- · 2019-01-04 16:57

Android SDK requires:

  • Fedora 17 64bit with Android SDK:

    sudo yum install glibc.i686 zlib.i686 libstdc++.i686 ncurses-libs.i686
    
  • Fedora 20 64bit with Android SDK

    sudo yum install glibc zlib libstdc++ ncurses-libs mesa-libGL-devel adb
    
查看更多
趁早两清
3楼-- · 2019-01-04 16:59

You can build sdk yourself. I will try. The 32-bit version is very slow.

查看更多
戒情不戒烟
4楼-- · 2019-01-04 17:00

Presumption: Android SDK 32 bit version is installed

On my Ubuntu 12 64 bit OS, I did not have to install any of the packages mentioned in the previous comments. Install the following using Android SDK Manager -
Under Tools:
Android SDK Tools
Android SDK Platform-tools
Latest Android SDK Build-tools

Under the latest Android API (in my case, Android 4.3 (API 18)):
SDK Platform
ARM EABI v7a System Image

Under Extras:
Android Support Library

Warning- I had earlier tried using the ia32-libs package. It installed successfully and I was able to run my Android apps. However, if I restarted the machine, it would never boot. Therefore, I suggest refraining from installing ia32-libs package. If it worked for you then great. Maybe it was an issue restricted to my PC then.

查看更多
走好不送
6楼-- · 2019-01-04 17:05

For Ubuntu 13.1 ia32-libs is not available anymore. So, you can try this one:

sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6
查看更多
趁早两清
7楼-- · 2019-01-04 17:11

On Ubuntu 13.10

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

查看更多
登录 后发表回答