marmalade android 5.0 JNI 调用失败的解决方案

  • Post author:
  • Post category:其他


5.0 真机日志如下:

sart/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception ‘java.lang.StackOverflowError’ thrown in void com.ideaworks3d.marmalade.LoaderThread.runNative(java.lang.String, java.lang.String):-2

解决方案:

在  app.icf 文件中 添加如下 配置参数:

{OS=ANDROID}

{RUNTIME=ART}

SysStackSwitch=0

{}

官网连接:http://docs.madewithmarmalade.com/display/MD/Android+specific+functionality+and+tips#Androidspecificfunctionalityandtips-AndroidRuntime%28ART%29support

相关问题连接:https://answers.madewithmarmalade.com/questions/30352/stackoverflowerror-loading-extension-on-android-50.html

转载于:https://www.cnblogs.com/porter/p/4682545.html