無法加載 pvr.ccz

使用 cc.SpriteFrameCache:getInstance():addSpriteFrames( “GameView_Plist2.plist” ) 加載

錯誤 cocos2d: fullPathForFilename: No file found at GameView_Plist2.pvr.ccz. Possible missing file

請問為什麼會找不到GameView_Plist2.pvr.ccz.:sob::sob::sob:

plist檔

檔案是放在同一個資料夾中

上代码

Debug一下FileUtils的实际访问的路径

… No file found at GameView_Plist2.pvr.ccz. <–感觉你末尾多了一个dot

CCFileUtils::getInstance()->setSearchPaths("…/…/Resources");

我試看看 謝謝

debug一下CCFileUtils实际搜索了哪些路径,然后再对比一下你文件放的路径是否满足这些搜索路径