12

我在这个网站上查看了我遇到的这个错误:

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

我在本主题提供的终端上使用了此命令。

64 位 Linux 机器上的 Android SDK

编辑:我试过在终端上使用这个命令:

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
4

4 回答 4

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

于 2013-04-30T23:33:34.393 回答
4

您需要将 i386 包添加到 apt

dpkg --add-architecture i386
于 2013-03-18T10:32:29.197 回答
2

我刚用

sudo apt-get install lib32bz2-1.0
于 2014-08-06T16:49:26.807 回答
1

对于这个问题,可以尝试:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
于 2013-06-04T09:33:23.243 回答