我已经很好地运行了gradle测试项目,只显示了badlogic游戏徽标。问题是当我尝试启动添加了补间jar的自己的gradle项目设置时。这是在Eclipse控制台中显示的消息:
[sts] -----------------------------------------------------
[sts] Starting Gradle build for the following tasks:
[sts] run
[sts] -----------------------------------------------------
Configuration on demand is an incubating feature.
:core:compileJava UP-TO-DATE
:core:processResources UP-TO-DATE
:core:classes UP-TO-DATE
:core:jar UP-TO-DATE
:desktop:compileJava UP-TO-DATE
:desktop:processResources UP-TO-DATE
:desktop:classes UP-TO-DATE
:desktop:run
game dimensions in UWGAME: 272.0, 483.55557
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
AL lib: (EE) alc_cleanup: 1 device not closed
Assertion failed!
Program: C:\Program Files\Java\jdk1.8.0_11\bin\java.exe
File: /var/lib/jenkins/workspace/libgdx/extensions/gdx-box2d/gdx-
box2d/jni/Box2D/Collision/Shapes/b2PolygonShape.cpp, Line 384
Expression: m_count >= 3
BUILD SUCCESSFUL
Total time: 17.454 secs
[sts] -----------------------------------------------------
[sts] Build finished succesfully!
[sts] Time taken: 0 min, 17 sec
[sts] -----------------------------------------------------
这是什么:Java(TM)平台SE Binary已停止工作
知道我如何解决这个问题吗?
感谢您考虑这个问题。
安托万
编辑
**已解决:当shape = new PolygonShape时,请勿设置shape.setRadius(float Radius),在这种情况下,形状必须为a = new CircleShape();无论如何.setRadius不应是Polygonshape对象的方法。
最佳答案
**已解决:当shape = new PolygonShape时,请勿设置shape.setRadius(float Radius),在这种情况下,形状必须为a = new CircleShape();无论如何.setRadius不应是Polygonshape对象的方法。