Java即使在Clean之后,Android Studio中也没有发现类Def Def Error

时间:2015-12-24 07:56:53

标签: java android libgdx

我一直在开发Pacman克隆,我正在使用以下类生成迷宫:它在netbeans上运行良好但是当我尝试将其导入到Android工作室以便我可以将它与LibGDX一起使用时它会给我一些错误他们在这里:S:

cellForRowAtIndexPath

守则是:

FATAL EXCEPTION: GLThread 187
Process: com.fistbump.patman.android, PID: 2221
java.lang.NoClassDefFoundError: com.patman.mazegeneration.Maze2D$Node$2
at com.patman.mazegeneration.Maze2D$Node.getNeighbours(Maze2D.java:197)
at com.patman.mazegeneration.Maze2D$Node.linkRandomUnlinkedNeighbour(Maze2D.java:176)
at com.patman.mazegeneration.Maze2D$Maze.growMaze(Maze2D.java:125)
at com.patman.mazegeneration.Maze2D$Maze.<init>(Maze2D.java:95)
at com.patman.mazegeneration.Maze2D.<init>(Maze2D.java:33)
at com.fistbump.patman.MyGdxGame.create(MyGdxGame.java:25)
at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:243)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1519)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
package com.patman.mazegeneration;

我尝试过清理和重建项目,但这并不好 非常感谢提前

0 个答案:

没有答案