fedoraで「Cannot run program android-4.4W/aap」の解決方法
1.エラーメッセージ
Cannot run program “/home/artshell/developer/android-studio/sdk/build-tools/android-4.4W/aapt": error=2,
2.原因分析
64ビットのfedora linuxで32ビットの32-libsライブラリが必要
3.解決対策
for installation of compiled app another 32-bit lib required:
yum install ncurses-libs.i686
新問題:
android-4.4W/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
対策
yum install libz.so.1
参考URL:
https://ask.fedoraproject.org/en/question/9556/how-do-i-install-32bit-libraries-on-a-64-bit-fedora/