如何解决在创建新的libgdx项目时出现“Launching Box2DBuild”错误?

huangapple 未分类评论91阅读模式
英文:

How do I solve this 'Launching Box2DBuild' error when creating a new libgdx project?

问题

'Launching Box2DBuild'遇到了一个问题。

启动配置Box2DBuild引用了已关闭的项目my-gdx-game-core

如何解决在创建新的libgdx项目时出现“Launching Box2DBuild”错误?

如何解决在创建新的libgdx项目时出现“Launching Box2DBuild”错误?

我不知道为什么每次尝试创建新的libgdx项目时都会遇到这个错误。

我已经附上了我用来创建项目的设置的截图。我需要安装Box2D吗,还是它已经预装了?

我正在使用Eclipse作为我的集成开发环境。

英文:

'Launching Box2DBuild' has encountered a problem.

Launch configuration Box2DBuild references closed project my-gdx-game-core

如何解决在创建新的libgdx项目时出现“Launching Box2DBuild”错误?

如何解决在创建新的libgdx项目时出现“Launching Box2DBuild”错误?

I don't know why I keep getting this error whenever I try to create a new libgdx project.

I've included a screenshot of the settings I used to create the project. Do I need to install Box2D, or does that come pre-installed?

I'm using Eclipse as my IDE.

答案1

得分: 0

我认为我找到了一个解决方案。如果你进入“运行配置”并将“主类”更改为“DesktopLauncher”,它应该可以正常运行。

英文:

I think I found a solution. If you go in Run Configurations and change the Main Class to the DesktopLauncher, it should run fine.

huangapple
  • 本文由 发表于 2020年5月29日 15:47:11
  • 转载请务必保留本文链接:https://java.coder-hub.com/62081096.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定