libgdx game not working in android phones

后端 未结 2 673
小蘑菇
小蘑菇 2021-01-15 23:58

i am trying to build android game from this libgdx based games but the android app crashes when ported to android game the libgdx code i downloaded from http://rengelbert.co

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-16 00:59

    Please try this and see if it solves the crash:

    Go to the properties for the Android Project, make sure that the Jars and the Desktop Project are being exported. Check that Java Build Path -> Order and Export looks like this:

    enter image description here

    If you want to use a different Android version than 4.1 that's fine (I just don't have other versions installed so I changed it to 4.1).

提交回复
热议问题