当我从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
Run Code Online (Sandbox Code Playgroud)
从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'
Run Code Online (Sandbox Code Playgroud)
然而,我的adb恰好位于它所说的不是的位置.
有什么问题,我该如何解决这个问题?
我进入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
Run Code Online (Sandbox Code Playgroud)
adb是绿色的,这意味着它是可执行的,对吗?
例如,dx也是绿色的,当我在命令提示符下输入dx时,它的工作原理... adb是什么问题?
是否可以在64位Linux机器上使用Android SDK进行开发.可用的SDK下载似乎仅适用于32位版本的Linux.
尝试adb在Ubuntu 12.10,x86_64上运行时遇到以下问题:
[2013-02-19 20:56:04 - adb] Unexpected exception 'Cannot run program
"/home/user/adt-bundle-linux-x86_64/sdk/platform-tools/adb": error=2,
No such file or directory' while attempting to get adb version from
'/home/user/adt-bundle-linux-x86_64/sdk/platform-tools/adb'
Run Code Online (Sandbox Code Playgroud)
我找到了adb,尝试过chmod +x adb它只是不起作用.我也试过
和.之后我尝试了chmod +x platform-tools/chmod +x tools/./adb
我为这个问题搞定了.他们在谈论ia32包.Ubuntu无法找到那个包,也无法找到ia32 multi arch.
系统是Ubuntu 12.10 64,我下载了adt-bundle-linux-x86_64.zip包,只需将其解压缩即可.
我究竟做错了什么 ?谢谢!
我在笔记本电脑上安装了ADT Bundle.我有ubuntu 13.10,但是当我打开ADT时,我看到了这样的消息:
Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64 20131030/sdk/platform-tools/adb":
error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb'
[2013-12-25 16:20:14 - adb] Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb":
error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb'
Run Code Online (Sandbox Code Playgroud)
这是我第一次在android上安装和开发,所以,我不知道该怎么做.有人能帮我吗?
我安装了Ubuntu 11.10,安装了GNOME 3(替换了Unity),从Ubuntu软件中心安装了Eclipse,安装了android sdk和ADT.
现在,当我开始日食时,我收到一条消息说:
Failed to get ADB version : Cannot run program
/home/ayush/android-sdk/platform-tools/adb":java.io.IOException:error=2,
No such file or directory
Run Code Online (Sandbox Code Playgroud)
导致此错误的原因是什么?如何解决?