2013-01-20 2 views
12

Spojrzałem na tej stronie tego błędu I 'm napotykające:Błąd adb w pakiecie Android SDK. Korzystanie Linux Ubuntu 64 bit 12.10

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). 

używałem tego polecenia w terminalu dostarczonych z tym tematem.

Android SDK on a 64-bit linux machine

EDIT: Próbowałem za pomocą tego polecenia w terminalu:

sudo apt-get install ia32-libs 

Niestety, to nic nie zrobił i pokazał to:

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 
+1

Co się stanie, jeśli wpiszesz polecenie:/home/ariel/Downloads/adt- bundle-linux-x86_64/sdk/platform-tools/adb –

+0

@JonWillis: Pojawia się na terminalu: bash: cd:/home/ariel/Downloads/adt-bundle-linux-x86_64/sdk/platform-tools/adb : Nie katalog – cyberspace009

+1

Wykonaj: $ sudo apt-get update; apt-cache search ia32-libs; aby sprawdzić, czy biblioteki są znalezione –

Odpowiedz

31

miałem ten sam problem, ale teraz jest w porządku z tych poleceń:

*sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

do uruchamiania emulatora trzeba, że ​​dodatkowy pakiet:

*sudo apt-get install libsdl1.2debian:i386

następnie zainstaluj ia32-libs:

*apt-get install ia32-libs

+10

To działało dla mnie 13.10, ale musiałem użyć 'sudo apt-get install lib32z1' zamiast' ia32-libs' na końcu. – ross

+0

@ross with the assist ... to jest potwierdzone na Xubuntu 14.04 64bit też – guyfromfl

3

Trzeba dodać Pakiety i386 do apt

dpkg --add-architecture i386 
1

W tym problem, można spróbować:

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

Używałem

sudo apt-get install lib32bz2-1.0