简体   繁体   English

为Eclipse安装libGDX时出错

[英]Errors installing libGDX for Eclipse

I am currently trying to install libGDX for the Eclipse IDE. 我目前正在尝试为Eclipse IDE安装libGDX。 Upon setting libGDX up and getting it installed, I received a few errors. 设置libGDX并将其安装后,我收到了一些错误。 At first I thought it was that I didn't have the GWT SDK installed, which was true, so I installed it. 起初我以为是我没有安装GWT SDK,这是事实,所以我安装了它。 It corrected one of the errors but these two persist. 它纠正了其中一个错误,但是这两个错误仍然存​​在。 I was following the Getting started video at GetStarted . 我正在GetStarted上观看入门视频。 I received these two errors which seem to be stemmed together: 我收到了这两个似乎是由错误引起的错误:

(1)
Description: The project cannot be built until build path errors are resolved
Resource: my-gdx-game-html
Path: n/a       
Location: Unknown
Type: Java Problem

(2)
D: Unbound classpath container: 'GWT SDK [missing]' in project 'my-gdx-game-html'   
R: my-gdx-game-html
P: n/a
L: Build path
T: Build Path Problem

I have tried doing the Quick Fix option (by right clicking on the error itself in Problems) but when I am taken to a new window, it gives me a couple options under 'Select a fix', either 'Configure build path' or 'Replace with other library.' 我尝试执行“快速修复”选项(通过右键单击“问题”中的错误本身),但是当我进入新窗口时,它在“选择修复”下为我提供了两个选项,即“配置构建路径”或“替换为其他库。 With my resource 'my-gdx-game-html' ticked, I select 'Finish' which promptly takes me to the Java Build Path. 选中我的资源“ my-gdx-game-html”,然后选择“完成”,这将立即带我到Java Build Path。 It automatically takes me to the 'Order and Export' tab and I have tried messing around with the 8 options (7 clickable) selecting various ones and hoping for a fix. 它会自动将我带到“订单和导出”标签,并且我尝试弄乱了8个选项(可单击7个)来选择各种选项并希望进行修复。 After selecting 'OK' though, the same result is yielded every time and nothing happens. 但是,选择“确定”后,每次都会得到相同的结果,并且什么也没有发生。 I am quite unsure what to do at this point and have yet to find other answers online. 我现在不确定该怎么办,还没有在线找到其他答案。 Any suggestions? 有什么建议么? Anyone know? 有人知道吗 Does someone have a link to direct me elsewhere? 有人有链接将我定向到其他地方吗? I have been searching for a few hours now. 我已经搜索了几个小时。

Install Google Web Toolkit (use correct Eclipse Version): 安装Google Web Toolkit(使用正确的Eclipse版本):

https://developers.google.com/web-toolkit/usingeclipse https://developers.google.com/web-toolkit/usingeclipse

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM