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.
Join Stack Overflow to learn, share knowledge, and build your career.
|
Yes, it is. You need to install the ia32 libraries. Check out the Ubuntu Linux troubleshooting section.
|
|||||||||||||||||
|
|
For Arch users:
|
|||||
|
|
For AWS Linux, I've found the solution in the old AWS Forum post.
|
|||
|
|
|
Android SDK requires:
|
|||||||||||||||||||||
|
|
A slight twist on the above Q and A: I'm running Debian Wheezy (7.0) on a 64-bit System76 laptop, I had already enabled multiarch and most of the native Android tools seemed to run fine...until I tried building an app. The build failed because one of the resource utilities needed (a 32-bit) libz.so.1. apt-get install lib32z1 ...fixed it for me. |
|||
|
|
|
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:
2) install packages:
3) install compatibility packages:
Restart the system and voila. |
||||
|
|
|
On Ubuntu 13.10 sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 |
|||
|
|
|
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 Under the latest Android API (in my case, Under Warning- I had earlier tried using the |
|||
|
|
|
For Ubuntu 13.1 ia32-libs is not available anymore. So, you can try this one:
|
|||||||||
|
|
For Debian Wheezy you have to enable multiarch and then install the dependent libraries as listed in the other answers or as needed by the binaries from the tools or platform-tools directory:
For further libs check with ldd for referenced .so-files.
platform-tools$ ldd adb
linux-gate.so.1 => (0xf77bb000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf779b000)
libncurses.so.5 => not found
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7781000)
libstdc++.so.6 => not found
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf775b000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf773e000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf75db000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf75d6000)
/lib/ld-linux.so.2 (0xf77bc000)
So continue to install libncurses5:i386 and libstdc++6:i386 to be able to run platform-tools$ ./adb Android Debug Bridge version 1.0.31 ... |
|||||
|
|
For openSUSE you can install the 32bit pattern package su zypper install -t pattern 32bit |
|||
|
|
|
On CentOS 6.2 I got it working with the following:
|
|||||||||
|
|
On (K)Ubuntu you need following 32-bit packages:
for running the emulator you need that additional package:
|
|||||||||||||||||||||
|
|
You can build sdk yourself. I will try. The 32-bit version is very slow. |
|||
|
|
|
|
|||
|
|
protected by Community♦ Oct 29 '13 at 12:41
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?