在编译的时候有时候会出现这样错误,无法解析resources是什么个情况
SetWindowLong NewWndProc Error:1400
cocos2d: fullPathForFilename: No file found at script/jsb_debugger.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/debugger/DevToolsUtils.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/debugger/core/promise.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/debugger/transport.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/debugger/actors/root.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/debugger/actors/script.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/debugger/main.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
JS: Failed to read or parse project.json
JS: D:/wamp/www/htmlworkspace/cocos/CocosJSGame/runtime/win32/…/…/main.js:55:ReferenceError: g_resources is not defined
(evaluatedOK == JS_FALSE)
我也遇到这个问题了,没人回答吗?
搞了半天终于发现了,还是project.json的问题,仔细检查json格式是否正确。如: