当我从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时,它可以正常工作……亚行有什么问题?
https://stackoverflow.com/questions/13571145
复制相似问题