CocosEditor-java

来源:互联网 发布:spss软件应用例子 编辑:程序博客网 时间:2024/04/30 14:29
Can't find dll path in CDK_HOME or java.library.path

....

Assert failed: Invalid spriteFrameName
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Assertion failed: spriteFrame, file CCSprite.cpp, line 948


Process finished with exit code 3

这是因为在引入图片文件的时候,没找到。可能是再移植文件时,忘了copy照片过来了


java.lang.ClassNotFoundException: org/ccj/game/hello/MenuSceneController
  at avian.SystemClassLoader.findVMClass
  at avian.SystemClassLoader.findClass (line 27)
  at avian.SystemClassLoader.loadClass (line 54)
  at java.lang.ClassLoader.loadClass (line 108)
  at avian.Classes.forName (line 294)
  at java.lang.Class.forName (line 150)
  at java.lang.Class.forName (line 143)
  at org.ccj.editor.cce.NodeReader.newInstance (line 438)
  at org.ccj.editor.cce.NodeReader.readComponents (line 249)
  at org.ccj.editor.cce.NodeReader.readConfig (line 223)
  at org.ccj.editor.cce.NodeReader.readNode (line 216)
  at org.ccj.editor.cce.NodeReader.readScene (line 170)
  at org.cce.game.hello.Main.mainScene (line 45)
  at org.cce.game.hello.Main$1.applicationDidFinishLaunching (line 70)
  at org.ccj.Application$1.apply (line 108)
  at org.ccj.Application$1.apply (line 105)
  at org.fun.FunctionFactory.call (line 31)
  at org.ccj.Engine.execute (line 54)
  at org.ccj.Application.run
  at org.cce.game.hello.Main.main (line 74)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile


发现main.cce有如下路径错误,这是因为项目在重命名路径的时候,相关文件没修改路径名称。

 <Component name="org.ccj.game.hello.MenuSceneController"/>
改为
 <Component name="org.cce.game.hello.MenuSceneController"/>
如下图:

<Component name="org.ccj.game.hello.MenuSceneController"/>
0 0
原创粉丝点击