Android adb not found

You can no longer install ia32-libs, so you must the individual 32 bit libraries needed by adb

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5

And for Ubuntu 13.10:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

On Linux, Android SDK platform-tools package containing adb used to be 32bit. It worked fine on 32bit systems. But on 64bit systems you need to manually install the IA32 library.

For Debian based distributions try this:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5

But since v24.0 platform-tools contains only 64bit binaries - so 32bit libraries no longer required.


You have to install the 32 bit glibc:

in Fedore 64 bit machine

# yum install glibc.i686

This removes the misleading 'no such file or directory' message when trying to execute a 32 bit binary. With that the 64 bit Fedora system is capable of executing 64 bit binaries.

This also removes the misleading 'not a dynamic executable' message of ldd when calling ldd on a 32 bit dynamic executable.

Now you have to install missing 32 bit libraries the binaries under adt-bundle-linux/sdk/platform-tools are linked against:

# yum install zlib.i686 libstdc++.i686 ncurses-libs.i686 libgcc.i686

Thats it.


I'm using Ubuntu 14.04 LTS 64-bit and the following code works for me;

sudo apt-get install lib32z1 lib32z1-dev
sudo apt-get install lib32stdc++6


Summary:

After I tried apt-get install ia32-libs, but apt package tool suggest that;

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source.

However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

Then the above code works for me.

Tags:

Linux

Android

Adb