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

来源:互联网 发布:yum install wget 编辑:程序博客网 时间:2024/05/19 16:35

在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位的原因:

解决办法:

1
      sudo apt-getinstall lib32ncurses5lib32stdc++6
0 0