com.badlogic.gdx.utils.SerializationException

Error reading file: uiskin.json

Solutions on the web148

  • via dolinked.com by Unknown author, 1 year ago
    Error reading file: uiskin.json
  • Error reading file: uiskin.json
  • via Stack Overflow by Ed Leko
    , 1 year ago
    Error reading file: uiskin.json
  • Stack trace

    • com.badlogic.gdx.utils.SerializationException: Error reading file: uiskin.json at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:97) at com.badlogic.gdx.scenes.scene2d.ui.Skin.<init>(Skin.java:74) at com.test.skintest.MainClass.create(MainClass.java:22) at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:290) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1511) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239) Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: uiskin.json at com.badlogic.gdx.utils.Json.fromJson(Json.java:694) at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:95) ... 5 more Caused by: com.badlogic.gdx.utils.SerializationException: Error parsing file: uiskin.json at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:77) at com.badlogic.gdx.utils.Json.fromJson(Json.java:692) ... 6 more Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Error reading file: uiskin.json (Internal) at com.badlogic.gdx.backends.android.AndroidFileHandle.read(AndroidFileHandle.java:77) at com.badlogic.gdx.files.FileHandle.reader(FileHandle.java:163) at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:75) ... 7 more Caused by: java.io.FileNotFoundException: uiskin.json at android.content.res.AssetManager.openAsset(Native Method) at android.content.res.AssetManager.open(AssetManager.java:334) at android.content.res.AssetManager.open(AssetManager.java:308) at com.badlogic.gdx.backends.android.AndroidFileHandle.read(AndroidFileHandle.java:75) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    15 times, 5 days ago
    407 times, 1 week ago
    1398 times, 1 month ago
    2 times, 1 month ago
    2 times, 2 months ago
    43 more bugmates