SteveL
SteveL

Reputation: 3389

NoClassDefFoundError: com/badlogic/gdx/LifecycleListener

I am trying to use the libgdx controllers extension and i am getting this :

Exception in thread "LWJGL Application" java.lang.NoClassDefFoundError: com/badlogic/gdx/LifecycleListener

When i try to load the Controllers class for the first time, from the desktop project

this is my main projects jars: who looks at image descriptions? , what's wrong with you

and this is my desktop's project jars: who looks at image descriptions? , what's wrong with you

Upvotes: 0

Views: 252

Answers (1)

P.T.
P.T.

Reputation: 25177

‛LifecycleListener‛ is a newer class, so likely a version mis-match with an older core Libgdx library.

The Libgdx libraries make no guarantees about compatibility between Libgdx .jars. All gdx jars your apps use should be from the same build.

Upvotes: 2

Related Questions