cocos2d: fullPathForFilename: No file found at Hero.png. Possible missing file.问题解决方法
2017-12-18 20:24
1551 查看
顾名思义是没找到这张图片,但是在确定该文件在此目录下后,还报了这个错误。
最后发现该问题,是因为XCode的资源是区别于发布平台的。
使用该方法添加的图片是默认添加到IOS平台的,如果你的项目是运行在mac下是没有改图片的
解决的方法就是选择缺失的图片,
在右方的属性框里,Target Membership下,把desktop选项打勾就可以了。
最后发现该问题,是因为XCode的资源是区别于发布平台的。
使用该方法添加的图片是默认添加到IOS平台的,如果你的项目是运行在mac下是没有改图片的
解决的方法就是选择缺失的图片,
在右方的属性框里,Target Membership下,把desktop选项打勾就可以了。
相关文章推荐
- cocos2d: fullPathForFilename: No file found at resource/Player.png. Possible missing file.
- CocosEditor-java加载图片出错cocos2d: fullPathForFilename: No file found at main.plist. Possible missing fi
- cocos2d: fullPathForFilename: No file found at /cc_2x2_white_image. Possible missing file.
- callBackName cannot be found&fullPathForFilename: No file found at replay.png. 解决方案
- cocos2d-js 3.11的运行黑屏错误 之No file found at script/jsb_prepare.js Possible missing file.
- 相对路径获取项目文件 及报错 No mapping found for HTTP request with URI XXX in DispatcherServlet with name ‘springmvc’解决方法
- No plugin found for prefix 'spring-boot' ...的问题解决方法
- 问题解决方法:No instrumentation runner found for the launch, using android.test.Instrumen
- configure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
- weblogic部署war包action不能访问问题解决方法 [There is no Action mapped for namespace / and action name]
- There is no Action mapped for namespace[/] and action name [] associated with context path.问题解决
- cloudera-scm-server启动时出现Caused by: java.io.FileNotFoundException: /var/lib/cloudera-scm-server/.keystore (No such file or directory)问题解决方法(图文详解)
- cocos2d: fullPathForFilename:
- 解决Xcode上传出现的Error ITMS-9000问题 ,No image found at the path referenced under key CFBundleIcons AppIcon
- No mapping found for HTTP request with URI [/app17a/] in DispatcherServlet with name 'springmvc'解决方法
- Android:Error retrieving parent for item: No resource found that matches the given name解决方法
- Android开发中error: Error retrieving parent for item: No resource found that matches the given name解决方法
- 问题 “No mapping found for HTTP request with URI [/fileupload/upload.do]” 的解决
- FreeBSD上Enter full pathname of shell or RETURN for /bin/sh 问题的解决
- No plugin found for prefix 'spring-boot' ...的问题解决方法