error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or di

来源:互联网 发布:安妮舞会公主皮肤淘宝 编辑:程序博客网 时间:2024/05/15 12:23
最近开发andorid,在windows下开发实在是太卡了,所以就装了ubuntu,环境之类的一切都搭建好了,但是打开eclipse时去出现了
/home/catia/android-sdks/platform-tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
我在百度找了好久解决办法还是没有用,转向google去查了一下,几分钟就解决了,在着我不得不承认:google比百度强了不止一点点!
其实这个问题就是你64位的操作系统没有32位的类库,而android的SDK是要32位支持的,如果没装就只能是报上面的错!
打开终端运行下面的命令:
sudo apt-get updatesudo apt-get install ia32-libs
运行第二个命令时有可能会说找不到或者被其它的所替代,然后再把终端列出的安装就好了.
好了,附上原帖地址:http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk
0 0
原创粉丝点击