在Linux平台下配置Android SDK开发环境过程中,Eclipse会提示错误如下:
Unexpected exception 'Cannot run program "/home/ubuntu/adt/sdk/platform-tools/adb": error=2 No such file or directory' while attempting to get adb version from /home/ubuntu/adt/sdk/platform-tools/adb
在/home/ubuntu/adt/sdk/platform-tools目录下执行./adb,则系统提示如下:
bash: ./adb: No such file or directory
遇到这样的错误,是由于当前的Linux为64位版本所导致的,安装ia32-libs即可,运行以下命令:
sudo apt-get install ia32-libs