大家好,今天在用lua和java交互的时候遇到一个问题,为了定位写了个demo也同样有问题,log如下,是不是在使用luaj的时候有什么地方没有设置?
11-27 14:28:59.352: D/cocos2d-x debug info(21847): # display.right = 640.00
11-27 14:28:59.352: D/cocos2d-x debug info(21847): # display.top = 1137.78
11-27 14:28:59.352: D/cocos2d-x debug info(21847): # display.bottom = 0.00
11-27 14:28:59.352: D/cocos2d-x debug info(21847): # display.c_left = -320.00
11-27 14:28:59.352: D/cocos2d-x debug info(21847): # display.c_right = 320.00
11-27 14:28:59.352: D/cocos2d-x debug info(21847): # display.c_top = 568.89
11-27 14:28:59.352: D/cocos2d-x debug info(21847): # display.c_bottom = -568.89
11-27 14:28:59.352: D/cocos2d-x debug info(21847): #
11-27 14:28:59.352: D/Device Model(21847): SimpleAudioEngine() - deviceModel = MI 4W
11-27 14:28:59.352: D/cocos2d-x debug info(21847): BaseFactory
11-27 14:28:59.352: D/cocos2d-x debug info(21847): printTickCount tickcount:1 thisptr:1906488840 msCCDBManager:0, sizeof(128) 84, 20
11-27 14:29:03.762: D/cocos2d-x debug info(21847): luaj.callStaticMethod(“com/benny/game/Luajavabridgedemo”,
11-27 14:29:03.762: D/cocos2d-x debug info(21847): “addTowNumber”,
11-27 14:29:03.762: D/cocos2d-x debug info(21847): args,
11-27 14:29:03.762: D/cocos2d-x debug info(21847): “(II)I”
11-27 14:29:03.762: D/luajc(21847): CCLuaJavaBridge::callJavaStaticMethod(lua_State *L)
11-27 14:29:03.762: A/libc(21847): Fatal signal 11 (SIGSEGV) at 0x0000002c (code=1), thread 21879 (Thread-3174)