出现以上问题到原因主要是Ubuntu用到是X64位,系统中缺少X32的链接库,所以ANDROID编译会报错,解决方案如下:
Q1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Solution:
sudo apt-get install libstdc++6
Q2: error while loading shared libraries:libncurses.so.5:cannot oopen shared object file:No such file or directory
Solution:
sudo apt-get install libncurses5
原文地址