android 5.0系统 ,cocos2dx 3.2 ndk :android-ndk-r8e
android 项目中的 Application.mk 文件
将
APP_STL := c++_static
改为:
APP_STL := gnustl_static
原因:详细请参考http://zengrong.net/post/2242.htm
在调用jni过程中也出现闪退的现象,
使用 CallStaticIntMethod 函数返回值时出现闪退 ,应改为CallStaticVoidMethod
CallStaticIntMethod >> CallStaticVoidMethod