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