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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章