hello
my app works fine on desktop and android (btw GREAT JOB jme team)
but one little glitch : on connection to my game server, i get an exception that i don’t get on the desktop game version
W/NiftyMethodInvoker( 4503): Exception: java.lang.reflect.InvocationTargetException
W/NiftyMethodInvoker( 4503): java.lang.reflect.Method invokeNative (Method.java:-2)
W/NiftyMethodInvoker( 4503): java.lang.reflect.Method invoke (Method.java:507)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.NiftyMethodInvoker callMethod (NiftyMethodInvoker.java:145)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.NiftyMethodInvoker performInvoke (NiftyMethodInvoker.java:104)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty$DelayedMethodInvoke perform (Nifty.java:1176)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty invokeMethods (Nifty.java:1154)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty handleDynamicElements (Nifty.java:312)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty access$1500 (Nifty.java:73)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl processEvent (Nifty.java:1371)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl processMouseEvent (Nifty.java:1329)
W/NiftyMethodInvoker( 4503): com.jme3.niftygui.InputSystemJme onMouseButtonEventQueued (InputSystemJme.java:161)
W/NiftyMethodInvoker( 4503): com.jme3.niftygui.InputSystemJme forwardEvents (InputSystemJme.java:236)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty update (Nifty.java:248)
W/NiftyMethodInvoker( 4503): com.jme3.niftygui.InputSystemJme endInput (InputSystemJme.java:92)
W/NiftyMethodInvoker( 4503): com.jme3.input.InputManager processQueue (InputManager.java:787)
W/NiftyMethodInvoker( 4503): com.jme3.input.InputManager update (InputManager.java:851)
W/NiftyMethodInvoker( 4503): com.jme3.app.Application update (Application.java:598)
W/NiftyMethodInvoker( 4503): mygame.MyApplication update (MyApplication.java:192)
W/NiftyMethodInvoker( 4503): com.jme3.app.AndroidHarness update (AndroidHarness.java:430)
W/NiftyMethodInvoker( 4503): com.jme3.system.android.OGLESContext onDrawFrame (OGLESContext.java:367)
W/NiftyMethodInvoker( 4503): android.opengl.GLSurfaceView$GLThread guardedRun (GLSurfaceView.java:1363)
W/NiftyMethodInvoker( 4503): android.opengl.GLSurfaceView$GLThread run (GLSurfaceView.java:1118)
W/NiftyMethodInvoker( 4503): Root Cause: java.lang.NoClassDefFoundError: com.jme3.network.serializing.Serializer <<<<<<<<<<<<<<<<<<<<<
W/NiftyMethodInvoker( 4503): mygame.Main ConnectToServer (Main.java:841)
W/NiftyMethodInvoker( 4503): mygame.screens.MyStartScreen ConnectToServer (MyStartScreen.java:113)
W/NiftyMethodInvoker( 4503): java.lang.reflect.Method invokeNative (Method.java:-2)
W/NiftyMethodInvoker( 4503): java.lang.reflect.Method invoke (Method.java:507)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.NiftyMethodInvoker callMethod (NiftyMethodInvoker.java:145)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.NiftyMethodInvoker performInvoke (NiftyMethodInvoker.java:104)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty$DelayedMethodInvoke perform (Nifty.java:1176)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty invokeMethods (Nifty.java:1154)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty handleDynamicElements (Nifty.java:312)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty access$1500 (Nifty.java:73)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl processEvent (Nifty.java:1371)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl processMouseEvent (Nifty.java:1329)
W/NiftyMethodInvoker( 4503): com.jme3.niftygui.InputSystemJme onMouseButtonEventQueued (InputSystemJme.java:161)
W/NiftyMethodInvoker( 4503): com.jme3.niftygui.InputSystemJme forwardEvents (InputSystemJme.java:236)
W/NiftyMethodInvoker( 4503): de.lessvoid.nifty.Nifty update (Nifty.java:248)
W/NiftyMethodInvoker( 4503): com.jme3.niftygui.InputSystemJme endInput (InputSystemJme.java:92)
W/NiftyMethodInvoker( 4503): com.jme3.input.InputManager processQueue (InputManager.java:787)
W/NiftyMethodInvoker( 4503): com.jme3.input.InputManager update (InputManager.java:851)
W/NiftyMethodInvoker( 4503): com.jme3.app.Application update (Application.java:598)
W/NiftyMethodInvoker( 4503): mygame.MyApplication update (MyApplication.java:192)
W/NiftyMethodInvoker( 4503): com.jme3.app.AndroidHarness update (AndroidHarness.java:430)
W/NiftyMethodInvoker( 4503): com.jme3.system.android.OGLESContext onDrawFrame (OGLESContext.java:367)
W/NiftyMethodInvoker( 4503): android.opengl.GLSurfaceView$GLThread guardedRun (GLSurfaceView.java:1363)
W/NiftyMethodInvoker( 4503): android.opengl.GLSurfaceView$GLThread run (GLSurfaceView.java:1118)
i did not remove any lib, i juste recreated a project with the ide
and stuck my sources and asset in the new project
i compiled/signed it and that’s all
anyone had the same issue ?
thx bye