Ubuntu 下搭建JDK和SDK环境后adb:error =12错误

字体大小: 中小 标准 ->行高大小: 标准

64bit Ubuntu 系统下 搭建JDK和SDK环境后,出现adb:error =12错误。

Failed to get the adb version: Cannot run program"/home/xxxx/Android/android-sdk/platform-tools/adb": error=2,没有那个文件或目录

错误提示:android-sdk-linux/platform-tools/adb: 没有那个文件或目录。

解决方案:由于是64bit的系统,而Androidsdk只有32bit的程序,需要安装ia32-libs,才能使用。

开启终端:sudo apt-get install ia32-libs

 

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/66450.html