Libgdx setup UI gives 2 unexpected errors in new GWT project

前端 未结 3 2038
广开言路
广开言路 2020-12-15 04:04

I have run the setup ui, however, I get two different errors in the -html project than what is described in the tutorial: libgdx tutorial

The tutorial error stated i

相关标签:
3条回答
  • 2020-12-15 04:22

    I had the same problem a couple of weeks ago and got around it by installing the GWT SDK.

    0 讨论(0)
  • 2020-12-15 04:23

    use the http://dl.google.com/eclipse/plugin/4.2 to install plugin on eclipse

    instead of http://dl.google.com/eclipse/plugin/4.4 or 4.3

    0 讨论(0)
  • 2020-12-15 04:40

    I know that the post is old, but while the answer of @Rod was close to resolve my problem, it didn't fully. After installing the plugin in his answer I got 3 error messages instead of two: the same previous ones and a new one.

    Looking inside the class that was giving the problem made Eclipse to point straight to the problem: the compiler compliance required to be 1.5 or greater but Eclipse had by default 1.4. I changed it through Window > Preferences > Java > Compiler > Compiler compliance level, where I put the correct one, 1.7, and everything compiled cleanly.

    PS: Thanks @Rod

    0 讨论(0)
提交回复
热议问题