Reputation: 3389
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:
and this is my desktop's project jars:
Upvotes: 0
Views: 252
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