Running libgdx html

前端 未结 2 1112
生来不讨喜
生来不讨喜 2021-01-28 17:15

I\'m trying to understand this great lib. when I\'m trying to run html with run as>web application I get errors. here\'s the console text and gwt definition file.



        
相关标签:
2条回答
  • 2021-01-28 18:04

    Please post MyGdxGame.gwt.xml in your main project.

    Your gwtdefinition file seems okay, but since it is calling the other xml file,

    <inherits name='MyGdxGame' />
    

    I suppose the error might be present there.

    0 讨论(0)
  • 2021-01-28 18:11

    After a week at the end i've discovered the problem. If you are using non-english operatin system gwt fails.

    For eclipse, just add;

    -Duser.language=en

    to run configurations.

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