当我从 Eclipse 运行我的 android 应用程序时,我收到了这个错误。
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 错误中复制粘贴
[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 恰好位于它所说的位置。
出了什么问题,我该如何解决?
我 cd 进入 adb 所在的目录 ( /home/antz/Development/adt-bundle-linux/sdk/platform-tools/
) 并输入 adb 并显示
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 是绿色的,这意味着它是一个可执行文件,对吗?
例如,dx 也是绿色的,当我在命令提示符中输入 dx 时,它可以工作...... adb 有什么问题?