libgdx android failed on launch

后端 未结 1 1982
长发绾君心
长发绾君心 2020-12-21 05:51

This is my first time using libgdx and I would like to try the default application provided after the setup gdx-setup-ui. It runs fine when I hit the run button

相关标签:
1条回答
  • 2020-12-21 06:54

    I was able to make this work on a Macbook Air by:

    1. open the Android Virtual Device Manager (e.g. in Eclipse this is under the Window menu)
    2. click Edit for the device you want to work with
    3. in the resulting dialog check the box "Use Host GPU" as shown

    Click Use Host GPU

    Save and try again.

    I'm guessing this depends on your computer's graphics card support OpenGL2.0, but I also suspect that this is pretty common nowadays.

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