Closed gazibst closed 10 years ago
Just released a fix that includes libgdx binaries (this project depends on Badlogic LibGDX) Note: as reported in README, you have to compile our Android port of GNUBackgammon AI to run the game. You can find sources here: http://github.com/alcacoop/libgnubg-android (it is a C/JNI port, so you'll need Android-NDK)
I wanted to say. I'm getting this error. Can you help. 02-24 13:59:37.737: W/dalvikvm(10801): Exception Lcom/badlogic/gdx/utils/GdxRuntimeException; thrown while initializing Lcom/badlogic/gdx/backends/android/AndroidApplication; 02-24 13:59:37.748: W/dalvikvm(10801): Class init failed in newInstance call (Lit/alcacoop/backgammon/MainActivity;) 02-24 13:59:37.748: D/AndroidRuntime(10801): Shutting down VM 02-24 13:59:37.748: W/dalvikvm(10801): threadid=1: thread exiting with uncaught exception (group=0x41d41ac8) 02-24 13:59:37.758: E/AndroidRuntime(10801): FATAL EXCEPTION: main 02-24 13:59:37.758: E/AndroidRuntime(10801): java.lang.ExceptionInInitializerError 02-24 13:59:37.758: E/AndroidRuntime(10801): at java.lang.Class.newInstanceImpl(Native Method) 02-24 13:59:37.758: E/AndroidRuntime(10801): at java.lang.Class.newInstance(Class.java:1319) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.app.Instrumentation.newActivity(Instrumentation.java:1071) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2166) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2299) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.app.ActivityThread.access$700(ActivityThread.java:154) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1284) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.os.Handler.dispatchMessage(Handler.java:99) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.os.Looper.loop(Looper.java:137) 02-24 13:59:37.758: E/AndroidRuntime(10801): at android.app.ActivityThread.main(ActivityThread.java:5296) 02-24 13:59:37.758: E/AndroidRuntime(10801): at java.lang.reflect.Method.invokeNative(Native Method) 02-24 13:59:37.758: E/AndroidRuntime(10801): at java.lang.reflect.Method.invoke(Method.java:511) 02-24 13:59:37.758: E/AndroidRuntime(10801): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) 02-24 13:59:37.758: E/AndroidRuntime(10801): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) 02-24 13:59:37.758: E/AndroidRuntime(10801): at dalvik.system.NativeStart.main(Native Method) 02-24 13:59:37.758: E/AndroidRuntime(10801): Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'gdx' for target: Linux, 32-bit 02-24 13:59:37.758: E/AndroidRuntime(10801): at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:122) 02-24 13:59:37.758: E/AndroidRuntime(10801): at com.badlogic.gdx.utils.GdxNativesLoader.load(GdxNativesLoader.java:34) 02-24 13:59:37.758: E/AndroidRuntime(10801): at com.badlogic.gdx.backends.android.AndroidApplication.(AndroidApplication.java:61)
02-24 13:59:37.758: E/AndroidRuntime(10801): ... 15 more
02-24 13:59:37.758: E/AndroidRuntime(10801): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load gdx from loader dalvik.system.PathClassLoader[dexPath=/data/app/it.alcacoop.backgammon-2.apk,libraryPath=/data/app-lib/it.alcacoop.backgammon-2]: findLibrary returned null
02-24 13:59:37.758: E/AndroidRuntime(10801): at java.lang.Runtime.loadLibrary(Runtime.java:365)
02-24 13:59:37.758: E/AndroidRuntime(10801): at java.lang.System.loadLibrary(System.java:535)
02-24 13:59:37.758: E/AndroidRuntime(10801): at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:109)
02-24 13:59:37.758: E/AndroidRuntime(10801): ... 17 more