Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 604
cyberspace009 Avatar asked Jan 20 '13 02:01

cyberspace009


4 Answers

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

like image 69
Zied R. Avatar answered Nov 17 '22 18:11

Zied R.


You need to add i386 packages to apt

dpkg --add-architecture i386
like image 20
Hamed Masafi Avatar answered Nov 17 '22 19:11

Hamed Masafi


I just used

sudo apt-get install lib32bz2-1.0
like image 2
Panos Avatar answered Nov 17 '22 17:11

Panos


For this problem, one may try :

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
like image 1
akshayb Avatar answered Nov 17 '22 17:11

akshayb