quicki 2.2.5 在获取如下资源路的时候,老是提示找不到资源文件 ios上面没报任何错误
local xmlPath = CCFileUtils:sharedFileUtils():fullPathForFilename(“template/HeroInfo.xml”)
提示
11-21 12
38.660: D/cocos2d-x debug info(17665): LUA ERROR: :548: LuaXml ERROR: “assets/res/template/HeroInfo.xml” file error or file not found!


资源目录别带 assets 啊,quick会把assets这级自动去掉,会有问题的
android 你获取assets 目录下的文件不能直接通过io来读取的。通过io 是读取不到数据的,你可以使用CCFileUtils中getFileData方法来获取。