Android的ADB没有发现 [英] Android adb not found
问题描述
当我从Eclipse中运行我的Android应用程序,我得到这个错误。
When I run my android app from eclipse, I get this error.
Unexpected exception 'Cannot run program "/home/antz/Development/adt-bundle-linux/sdk/platform-tools/adb": error=2 No such file or directory' while attempting to get adb version from /home/antz/Development/adt-bundle-linux/sdk/platform-tools/adb
复制粘贴在Eclipse错误
COPY PASTE FROM Eclipse Error
[2012-11-26 13:43:08 - adb] Unexpected exception 'Cannot run program "/home/antz/Development/adt-bundle-linux/sdk/platform-tools/adb": error=2, No such file or directory' while attempting to get adb version from '/home/antz/Development/adt-bundle-linux/sdk/platform-tools/adb'
不过我ADB恰恰是在位置,它说,它不是。
However my adb is exactly in the location where it says it's not.
什么是错的,我怎么解决这个问题?
What is wrong and how do I fix this?
我cd到亚行的目录( /主页/ ANTZ /开发/ ADT-捆绑Linux的/ SDK /平台工具/
),我输入了亚行和它说
I cd into the directory where adb is (/home/antz/Development/adt-bundle-linux/sdk/platform-tools/
) and I typed in adb and it says
antz@antz-90X3A:~/Development/adt-bundle-linux/sdk/platform-tools$ ls
aapt aidl dexdump fastboot llvm-rs-cc renderscript
adb api dx lib NOTICE.txt source.properties
antz@antz-90X3A:~/Development/adt-bundle-linux/sdk/platform-tools$ adb
bash: /home/antz/Development/adt-bundle-linux/sdk/platform-tools/adb: No such file or directory
亚行是绿色的,这意味着它的可执行文件,是否正确?
adb is green which means its an executable, correct?
例如,DX也是绿色的,当我输入DX进入命令提示符,它的工作原理......什么错与亚行?
for example, dx is also green and when I typed in dx into the command prompt, it works... whats wrong with adb?
推荐答案
在Linux上,你需要安装IA32库因为Linux 64位ADT包带有一个32位亚洲开发银行在ADT-捆绑Linux的/ SDK /平台工具/亚行......这也是在其他的发行版,如出现问题Fedora的17
On Linux you need to install IA32 library Because Linux 64-bit ADT bundle comes with a 32 Bit adb under adt-bundle-linux/sdk/platform-tools/adb ... This is also a problem under other distributions, e.g. Fedora 17
试试这个:命令和apt-get安装libc6的-i386的lib32stdc ++ 6 lib32gcc1 lib32ncurses5
这篇关于Android的ADB没有发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!