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