Create the project with Cocos2d-x 3.2 official version, the results using Cocos compile-p Android compiled APK program, the result is tragic, the following error occurred.
Android ndk:invalid App_stl value:c++_static
Android Ndk:please Use one of the following Instead:system stlport_static stlport_static_hard stlport_shared stlport_sh Ared_hard gnustl_static gnustl_shared gabi++_static gabi++_shared libc++_static libc++_shared None
make:entering directory '/game/physics_engine/proj.android '
/sdk/ndk/android-ndk-r9c/build/core/add-application.mk:274: * * * Android ndk:aborting. Stop.
make:leaving directory '/game/physics_engine/proj.android '
Error running command, return Code:2
Solution:
The cause of the problem is that the ANDROID-NDK version is too low to update to the latest NDK.
Cocos2d-x 3.2 Compile build Android program error running command, return Code:2 workaround