一、DeprecatedEnum.lua no value
_G.LAYOUT_ABSOLUTE = ccui.Type.ABSOLUTE
_G.LAYOUT_LINEAR_VERTICAL = ccui.Type.VERTICAL _G.LAYOUT_LINEAR_HORIZONTAL = ccui.Type.HORIZONTAL _G.LAYOUT_RELATIVE = ccui.Type.RELATIVE解决为:
參考网址:
将这段代码改为
_G.LAYOUT_ABSOLUTE = ccui.LayoutType.ABSOLUTE
_G.LAYOUT_LINEAR_VERTICAL = ccui.LayoutType.VERTICAL _G.LAYOUT_LINEAR_HORIZONTAL = ccui.LayoutType.HORIZONTAL _G.LAYOUT_RELATIVE = ccui.LayoutType.RELATIVE二、出现Read design size error! Expression: IsObject()这种错误
參考网址:
在提到的URL内的答案。它可能是cocosstudio和代码版本号不是为正确,因此,删除require "CocosStudio"您可以