rc1版本
android java调用js报错 导致应用被终止
public static void callAppFun(final String method) {
app.runOnGLThread(new Runnable() {
@Override
public void run() {
String method = "require(\'NativeCall\').shareSucc()";
Cocos2dxJavascriptJavaBridge.evalString(method);
// Cocos2dxJavascriptJavaBridge.evalString("cc.log(\"11111\")");
}
});
}
错误信息
A/libc: Fatal signal 4 (SIGILL), code 1, fault addr 0xe2660ad2 in tid 11760 (GLThread 2438)
Application terminated.
如果用注释的那句就没有问题