2013-01-20 64 views
12

我看了這個網站這個錯誤我遇到:我已經從這個主題所提供的終端上使用該命令Android SDK上的adb錯誤。使用Linux操作系統Ubuntu 64位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). 

Android SDK on a 64-bit linux machine

編輯: 我已經在終端使用此命令嘗試:

sudo apt-get install ia32-libs 

可悲的是,什麼也沒做,它表明這一點:

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

,如果你輸入這個命令會發生什麼:/家庭/碧浪/下載/ adt- bundle-linux-x86_64/sdk/platform-tools/adb –

+0

@JonWillis:顯示在終端上:bash:cd:/ home/ariel/Downloads/adt-bundle-linux-x86_64/sdk/platform-tools/adb :不是目錄 – cyberspace009

+1

做:$ sudo apt-get update; apt-cache search ia32-libs;看看是否發現了庫。 –

回答

31

我有同樣的問題,但它現在的罰款這些命令:

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

運行模擬器,你需要一個額外的軟件包:

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

然後安裝ia32-libs:

*apt-get install ia32-libs

+10

這對13.10有幫助,但我最後不得不使用'sudo apt-get install lib32z1'而不是'ia32-libs'。 – ross

+0

@ross與協助...這也證實了Xubuntu 14.04 64bit – guyfromfl

3

您需要添加i386封裝到apt

dpkg --add-architecture i386 
1

對於這個問題,可以嘗試:

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

我只是用

sudo apt-get install lib32bz2-1.0 
相關問題