代码里是这句
local uiLayout=ccs.GUIReader:getInstance():widgetFromJsonFile(“DemoLogin/DemoLogin.json”);
资源确认过路径都是对的。
@ @是我设置的东西缺少来吗?求大神帮看~~
报错内容为
Assertion failed: (IsObject()), function FindMember, file /Users/hujiang/Documents/cocos/PrebuiltRuntimeLua/frameworks/runtime-src/proj.ios_mac/…/…/cocos2d-x/external/json/document.h, line 620.