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

最近开发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位支持的,如果没装就只能是报上面的错!

解决办法来源于: http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk

输入apt-get install lib32ncurses5 ia32-libs

你可能感兴趣的:(error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or di)