安卓项目报错: The C compiler is not able to compile a simple test program.
1.可能是你的cmake脚本写的有问题2.ndk 21版本确实有点问题,你可以换成23版本试试
参考下下面两篇博客https://blog.csdn.net/fengbingchun/article/details/115823589https://blog.csdn.net/shanpenghui/article/details/109044706