• Editor
  • error in libgdx runtime

Related Discussions
...

I just got an error in one animation that changes the alpha of an image when trying to run it in my libgdx game.

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: com.badlogic.gdx.graphics.Color.set(FFFF)V
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:113)
Caused by: java.lang.NoSuchMethodError: com.badlogic.gdx.graphics.Color.set(FFFF)V
        at com.esotericsoftware.spine.Animation$ColorTimeline.apply(Animation.java:418)
        at com.esotericsoftware.spine.Animation.apply(Animation.java:40)
        at com.me.libgdxgame.screens.GameScreen.render(GameScreen.java:66)
        at com.badlogic.gdx.Game.render(Game.java:46)

Im using the latest nigtly build btw. I think someone changed the Color.set method

Are you using both the latest spine-libgdx and the latest libgdx?

oops! my fault, I was using the latest libgdx and spine-libgdx 1.0.18. I've switched to the latest spine-libgdx and it works like a charm