简体   繁体   中英

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: 谁看图像描述? , 你这人怎么回事

and this is my desktop's project jars: 谁看图像描述? , 你这人怎么回事

‛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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM