by Adam Brett

Unable to run 'adb', Andriod SDK, Ubuntu, Eclipse

This article was published on Tuesday, July 10, 2012 which was more than 18 months ago , this means the content may be out of date or no longer relevant. You should verify that the technical information in this article is still current before relying upon it for your own purposes.

If you get the following really annoying message while trying to install the andriod SDK on ubuntu:

Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program "/home/user/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory.
Starting ADB server failed (code -1).

It's because you're running 64bit ubuntu, and phones (and therefore the SDK) are only 32bit, if you run:

apt-get install ia32-libs

It will solve all of your problems and the SDK will install correctly.

For exclusive content, including screen-casts, videos, and early beta access to my projects, subscribe to my email list below.


I love discussion, but not blog comments. If you want to comment on what's written above, head over to twitter.