libgdx - GdxRuntimeException: Error reading pack file: uiskin.atlas -



libgdx - GdxRuntimeException: Error reading pack file: uiskin.atlas -

first of all, saw gdxruntimeexception: couldn't load file think have different problems here.

i'm trying add together skin screen. code in scala.

val skin = new skin(gdx.files.internal("uiskin.json"))

i utilize libgdx 1.1.0. uiskin.json libgdx's github repo. here errors:

com.badlogic.gdx.utils.gdxruntimeexception: error reading pack file: uiskin.atlas @ com.badlogic.gdx.graphics.g2d.textureatlas$textureatlasdata.<init>(textureatlas.java:187) @ com.badlogic.gdx.graphics.g2d.textureatlas.<init>(textureatlas.java:231) @ com.badlogic.gdx.graphics.g2d.textureatlas.<init>(textureatlas.java:226) @ com.badlogic.gdx.graphics.g2d.textureatlas.<init>(textureatlas.java:216) @ com.badlogic.gdx.scenes.scene2d.ui.skin.<init>(skin.java:69) @ com.pt2121.skintest.helpscreen.show(helpscreen.scala:39) @ com.badlogic.gdx.game.setscreen(game.java:61) @ com.pt2121.skintest.skintest.create(skintest.scala:8) @ com.badlogic.gdx.backends.android.androidgraphics.onsurfacechanged(androidgraphics.java:236) @ android.opengl.glsurfaceview$glthread.guardedrun(glsurfaceview.java:1512) @ android.opengl.glsurfaceview$glthread.run(glsurfaceview.java:1240) caused by: java.lang.nullpointerexception @ java.lang.enum$1.create(enum.java:43) @ java.lang.enum$1.create(enum.java:35) @ libcore.util.basiclrucache.get(basiclrucache.java:54) @ java.lang.enum.getsharedconstants(enum.java:209) @ java.lang.enum.valueof(enum.java:189) @ com.badlogic.gdx.graphics.pixmap$format.valueof(pixmap.java:49) @ com.badlogic.gdx.graphics.g2d.textureatlas$textureatlasdata.<init>(textureatlas.java:120) ... 10 more

i've been searching hours. guess might scala or libgdx version. (i have pretty much same code in java libgdx 0.99 , works fine.) project @ https://github.com/prt2121/skintest. thanks

please update libgdx github repo , should work fine after that. : why "no com.badlogic.gdx.scenes.scene2d.ui.scrollpane$scrollpanestyle registered name: default" error coming , how prepare it?

libgdx

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -