我在这个网站上看到了我遇到的这个错误:
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).
我在这个主题提供的terminal上使用了这个命令。
在64位Linux机器上的Android SDK
编辑:我试过在terminal上使用这个命令:
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
我有同样的问题,但现在用这些命令很好:
* 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
您需要将i386软件包添加到apt
dpkg --add-architecture i386
我刚刚用过
sudo apt-get install lib32bz2-1.0
对于这个问题,可以尝试一下:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5