1
|
yum
install
glibc libstdc++ libgcc libX11.i686 libXext.i686 libao.i686 alsa-lib.i686
|
或:
1
|
yum
install
glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
|
如果在eclipse 控制台出现error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 错误提示也是软件32位包兼容的问题(该问题将导致无法自动生成R.java文件)
进入 android-sdk-linux/platform-tools/,使用./aapt 也提示同样错误
解决办法:
1
|
yum
install
zlib.i686
|
本文转自 pangfc 51CTO博客,原文链接:http://blog.51cto.com/983836259/1405499,如需转载请自行联系原作者