当我从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恰好在它说不存在的位置。
有什么问题,我该如何解决?
我进入目录adb(/home/antz/Development/adt-bundle-linux/sdk/platform- tools/)的CD,然后输入adb并说
/home/antz/Development/adt-bundle-linux/sdk/platform- tools/
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怎么了?
在Linux上,platform-tools包含的Android SDK 软件包adb曾经是32bit。在32bit系统上运行良好。但是在64bit系统上,您需要手动安装IA32库。
platform-tools
adb
32bit
64bit
对于基于Debian的发行版,请尝试以下操作:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
但是由于v24.0 platform-tools仅包含64bit二进制文件-因此32bit不再需要库。