2013-01-20 35 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 
相关问题