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
打开/proj.android/jni/Application.mk
把第一行 APP_STL := C++_static 改为 APP_STL := gnustl_static
编译成功。
原文链接:https://www.f2er.com/cocos2dx/347024.html