解决 Linux下Cannot run program aapt


原因是:在64位的fedora linux系统上运行32位程序时需要32-libs库支持(其他linux分支系统的32-libs需自行查找)

原文地址:https://ask.fedoraproject.org/en/question/9556/how-do-i-install-32bit-libraries-on-a-64-bit-fedora/

for installation of compiled app another 32-bit lib required:


yum install ncurses-libs.i686

安装好后出现另一问题:

android/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory


yum install libz.so.1

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



yum install libstdc++.so.6


如果安装当中出现如下错误:

Error:  Multilib version problems found. This often means that the root

       cause is something else and multilib version checking is just

       pointing out that there is a problem. Eg.:


使用如下命令解决
yum update


成功解析^-^

技术分享


郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。