您的位置:首页 > 移动开发 > Objective-C

ubuntu下安装andt出现error while loading shared libraries: libncurses.so.5: cannot open shared object file

2012-07-01 09:10 761 查看
案例:我在ubuntu下面安装配置android开发环境的时候,当我安装完ADT重启eclipse的时候,出现如下错误:

/home/tiger/android-sdks/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

[2012-07-01 08:51:35 - adb] Failed to parse the output of 'adb version':

起初以为是自己的版本问题,运行echo $MACHTYPE得到的是 x86_64-pc-linux-gnu

版本没问题,解决方法

sudo apt-get install ia32-libs


原因是你的系统是64-bit的 但是google发布的组建是32-bit的。

原文出自:http://stackoverflow.com/questions/7056914/android-eclipse-installation-on-ubuntu-11-04-aapt-and-adb-not-working-properly
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐