adb error on Android SDK. Using Linux Ubuntu 64 bit 12.10

cyberspace009 picture cyberspace009 · Jan 20, 2013 · Viewed 17k times · Source

I looked on this site for this error I'm encountering:

Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program "/home/ariel/Downloads/adt-bundle-linux-x86_64/sdk/platform-tools/adb": error=2, No such file or directory.
Starting ADB server failed (code -1).

I've used this command on the terminal provided from this topic.

Android SDK on a 64-bit linux machine

EDIT: I've tried using this command on terminal:

sudo apt-get install ia32-libs

Sadly, it did nothing and it showed this:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc6-i386 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

E: Package 'libc6-i386' has no installation candidate

Answer

Zied R. picture Zied R. · May 1, 2013

I had the same problem, but it's fine now with these commands :

*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

then install ia32-libs:

*apt-get install ia32-libs