Skip to content Skip to sidebar Skip to footer

Hello World, Libgdx Crashes On Phone

I am trying to get into android development, after some reading i have settled on libgdx as the engine i will use. I have got all the tools installed so i go to the wiki and find a

Solution 1:

Fixed it, looks like adt 1.7 breaks it.

See the simple fix here: http://www.badlogicgames.com/wordpress/?p=2362

Some kind folks on the forums informed me that the latest Android ADT plugin breaks libgdx projects. The reason for this is that an Android Eclipse project no longer adds the sources of referenced Java projects to the APK it compiles. Why they had to do this is beyond me, the fix is simple however.

Click on your Android Project Select Properties Select Java Build Path Select Order and Export Check all your references, e.g. the gdx.jar, the gdx-backend-android.jar, your main code project etc. That’s it. Here’s a before and after image for a project that uses the jars.

Posted on March 22, 2012, 5:24 pm, by Mario

Post a Comment for "Hello World, Libgdx Crashes On Phone"