Android项目出错aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: N

在Ubuntu等64为Linux下安装google android的时候会提示:

aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such

当使用apt-get install ~~~安装的时候却提示已经安装,或者是未发现软件包,

其实这是因为64位系统中安装的libstdc++是64位的而SDK需要的是32位的原因:

解决办法:

sudo apt-get install lib32ncurses5 lib32stdc++6
1
       sudo apt - get install lib32ncurses5 lib32stdc ++ 6

你可能感兴趣的:(Android项目出错aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: N)