英文:
How do I solve this 'Launching Box2DBuild' error when creating a new libgdx project?
问题
'Launching Box2DBuild'遇到了一个问题。
启动配置Box2DBuild引用了已关闭的项目my-gdx-game-core
我不知道为什么每次尝试创建新的libgdx项目时都会遇到这个错误。
我已经附上了我用来创建项目的设置的截图。我需要安装Box2D吗,还是它已经预装了?
我正在使用Eclipse作为我的集成开发环境。
英文:
'Launching Box2DBuild' has encountered a problem.
Launch configuration Box2DBuild references closed project my-gdx-game-core
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.
专注分享java语言的经验与见解,让所有开发者获益!
评论