Question

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
Was it helpful?

Solution

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

OTHER TIPS

You need to add i386 packages to apt

dpkg --add-architecture i386

I just used

sudo apt-get install lib32bz2-1.0

For this problem, one may try :

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top