【发布时间】:2013-01-03 11:26:20
【问题描述】:
我在这个网站上查看了我遇到的这个错误:
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
【问题讨论】:
-
如果你输入这个命令会发生什么:/home/ariel/Downloads/adt-bundle-linux-x86_64/sdk/platform-tools/adb
-
执行:$ sudo apt-get update; apt-cache 搜索 ia32-libs;查看是否找到了库
-
是因为我有 ubuntu 64 位吗?我尝试了所有方法,包括 developer.android.com/sdk/installing/index.html 我想使用 linux 因为我想专注于编程并远离干扰(游戏)。
-
adb 是可执行文件,而不是目录。你为什么要 cd 进去?
-
欢迎来到 unix-like-land。我想你会学会爱上它的。干杯
标签: android linux ubuntu-12.10