ERROR: Uncaught ReferenceError: CC_RUNTIME is not defined

E/jswrapper: [ERROR] (F:/Client/build/jsb-default-hw/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp, 126): Can’t decrypt code for src/settings.jsc
ScriptEngine::runScript script src/settings.js, buffer is empty!
[ERROR] Failed to invoke require, location: F:/Client/build/jsb-default-hw/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:236
E/jswrapper: [ERROR] (F:/Client/build/jsb-default-hw/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp, 126): Can’t decrypt code for src/cocos2d-jsb.jsc
ScriptEngine::runScript script src/cocos2d-jsb.js, buffer is empty!
[ERROR] Failed to invoke require, location: F:/Client/build/jsb-default-hw/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:236
D/cocos2d-x: fullPathForFilename: No file found at jsb-adapter/engine/index.jsc. Possible missing file.
E/jswrapper: [ERROR] Failed to invoke require, location: F:/Client/build/jsb-default-hw/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:236
ERROR: Uncaught ReferenceError: CC_RUNTIME is not defined, location: jsb-adapter/engine/index.js:0:0
STACK:
[0]anonymous@jsb-adapter/engine/index.js:26
[1]anonymous@main.js:208

一脸懵逼,不知道具体哪里的问题,可以肯定是资源或代码的问题,就是知道在哪,代码回滚中。。。求助!!!

已解决:构建面板脚本加密秘钥被更新了,用回原来的秘钥可以了(Android 工程不变的情况下)。

2赞