@zwpmain 写道:
求救,
发布web版没有问题,和模拟器运行都没问题
打包android就出错
2020-01-16 10:33:05.671 22946-22999/com.chc.rpg E/jswrapper: ERROR: Uncaught TypeError: Cannot read property '_owner' of undefined, location: src/cocos2d-jsb.js:0:0
STACK:
[0]getInstantiatedMaterial@src/cocos2d-jsb.js:11570
[1]_switchGrayMaterial@src/cocos2d-jsb.js:39290
[2]_updateDisabledState@src/cocos2d-jsb.js:14248
[3]_updateState@src/cocos2d-jsb.js:14186
[4]_onTouchBegan@src/cocos2d-jsb.js:14128
[5]184.proto.emit@src/cocos2d-jsb.js:30391
[6]_doDispatchEvent@src/cocos2d-jsb.js:8120
[7]dispatchEvent@src/cocos2d-jsb.js:8821
[8]_touchStartHandler@src/cocos2d-jsb.js:7994
[9]_onTouchEventCallback@src/cocos2d-jsb.js:21068
[10]_dispatchEventToListeners@src/cocos2d-jsb.js:21158
[11]_dispatchTouchEvent@src/cocos2d-jsb.js:21107
[12]dispatchEvent@src/cocos2d-jsb.js:21354
[13]handleTouchesBegin@src/cocos2d-jsb.js:28379
[14]touchstart@src/cocos2d-jsb.js:28604
[15]anonymous@src/cocos2d-jsb.js:28624
[16]dispatchEvent@jsb-adapter/jsb-builtin.js:2860
[17]anonymous@jsb-adapter/jsb-builtin.js:2899
2020-01-16 10:33:05.671 22946-22999/com.chc.rpg E/jswrapper: [ERROR] (D:/CocosCreator_2.2.2/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper8/Object.cpp, 562): Invoking function (0x7b61a0d180) failed!不知道是什么问题。
版本 cocos creator 2.2.0
帖子: 1
参与者: 1