How do I load a libGDX Skin on Android?

Posted by Lukas on Game Development See other posts from Game Development or by Lukas
Published on 2013-11-03T19:13:21Z Indexed on 2013/11/03 22:20 UTC
Read the original article Hit count: 367

Filed under:
|

I am pretty desperate searching for a solution to load ui skins into my android app (actually it is not my app, it is a tutorial I'm following). The app always crashes at this part:

assets.load("ui/defaultskin/defaultskin.json", Skin.class, new SkinLoader.SkinParameter("ui/defaultskin/defaultskin.atlas"));

The files are the ones from the bitowl tutorial: http://bitowl.de/day6/ I guess Gdx.files.internal doesn't work on android, since the app crashed with this, too.

Thanks for helping me out,

Lukas

© Game Development or respective owner

Related posts about android

Related posts about libgdx