My animations works just fine in my desktop project, but when I try to build it for my Android tablet it fails as it cannot find the referenced libraries. Stack trace:
03-04 20:14:19.105: E/AndroidRuntime(19344): FATAL EXCEPTION: GLThread 887
03-04 20:14:19.105: E/AndroidRuntime(19344): java.lang.NoClassDefFoundError: com.esotericsoftware.spine.SkeletonJson
03-04 20:14:19.105: E/AndroidRuntime(19344): at com.games.testgame.accessories.Figure2Animations.<init>(Figure2Animations.java:25)
03-04 20:14:19.105: E/AndroidRuntime(19344): at com.games.testgame.accessories.AnimationsContainer.<init>(AnimationsContainer.java:12)
03-04 20:14:19.105: E/AndroidRuntime(19344): at com.games.testgame.accessories.AssetsContainer.<init>(AssetsContainer.java:89)
03-04 20:14:19.105: E/AndroidRuntime(19344): at com.games.testgame.game.TestGame.create(TestGame.java:21)
03-04 20:14:19.105: E/AndroidRuntime(19344): at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:292)
03-04 20:14:19.105: E/AndroidRuntime(19344): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
03-04 20:14:19.105: E/AndroidRuntime(19344): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
It's just a reference issue, but I have tried putting the Spine jar almost everywhere with no success, both in the main project and the Android project. What to do?
Edit: I'm using Eclipse.