1、问题描述
cocos2dx3.2版本编译android项目时报错,报错内容如下:
Android NDK: Invalid APP_STL value: c++_static
/Users/....../build/core/add-application.mk:274: *** Android NDK: Aborting . Stop.
Android NDK: Please use one of the following instead: system stlport_static stlport_static_hard stlport_shared stlport_shared_hard gnustl_static gnustl_shared gabi++_static gabi++_shared libc++_static libc++_shared none
2、@R_404_323@
打开/proj.android/jni/Application.mk
把第一行 APP_STL := C++_static 改为 APP_STL := gnustl_static
3、编译
编译成功。