Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Cocos2dxJavascriptJavaBridge.evalString 闪退

$
0
0

@nihao 写道:

调用Cocos2dxJavascriptJavaBridge.evalString,出现如下错误:
F/libc (27274): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 27330 (GLThread 19536)

代码:
app.runOnGLThread(new Runnable(){
@Override
public void run() {
int res = Cocos2dxJavascriptJavaBridge.evalString(jsCode);
Log.d("test from js java->js 002 ", "res = " + res);
}
});

大家怎么解决这个问题呢,谢谢。

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>