我试图使用Cocos Code IDE运行cocos2dx-3.2的lua-tests,先建立一个cocos lua project,然后把src和res目录清空,再将cocos2dx-3.2的lua-tests的src和res目录下的所有东西复制到我刚建立的工程,修改config.json中的"entry": “src/main.lua"改为"entry”: “src/controller.lua”
点击debug win32运行报错:
Console: listening on 0.0.0.0 : 6010Debugger v1.1.0
Debugger: Trying to connect to 127.0.0.1:10000 …
Debugger: Connection succeed.
debug args = require(‘debugger’)(‘127.0.0.1’,‘10000’,‘luaidekey’,nil,‘win’,’/E:/java/cocos2d-lua/CocosLuaGame/’,‘E:/java/cocos2d-lua/CocosLuaGame/’)
font count = 6
cocos2d: fullPathForFilename: No file found at Images/close.png. Possible missing file.
cocos2d: fullPathForFilename: No file found at Images/close.png. Possible missing file.
cocos2d: fullPathForFilename: No file found at Images/close.png. Possible missing file.
Get data from file(Images/close.png) failed, error code is 3
cocos2d: fullPathForFilename: No file found at Images/close.png. Possible missing file.
cocos2d: fullPathForFilename: No file found at Images/close.png. Possible missing file.
cocos2d: fullPathForFilename: No file found at Images/close.png. Possible missing file.
Get data from file(Images/close.png) failed, error code is 3
:174: attempt to index local ‘testLabel’ (a nil value)
<p> </p> 请问大家是怎么解决的?</span></p>