aidl 和adb 无法找到的问题的记录

来源:互联网 发布:linux cpu绑核 编辑:程序博客网 时间:2024/06/05 09:03

android 14.04 64位 adb cannot run program adb 或者 Error executing aidl. Please check aidl 

按照网上的说法:

Failed to get the adb version: Cannot run program "adb": error=2, 没有那个文件或目录 Error executing aidl. Please check aidl 

64位系统,Ubuntu11.04,搭建JDK,Android环境,把android SDK复制过来后,里面的adb和其它命令的都不能使用。

错误提示:android-sdk-linux_86/platform-tools/adb: 没有那个文件或目录。
解决方案:由于是64bit的系统,而Android sdk只有32bit的程序,需要安装ia32-libs,才能使用。

运行如下命令:

sudo apt-get install ia32-libs 

如果提示该包已被其它包取代。请尝试安装以下包文件:

sudo apt-get install lib32z1
 完成后还需要安装 libstdc++.so.6 这个库(adb需要32位的库)
sudo apt-get install lib32stdc+

0 0