Tux Rider compiles but crashes on startup-Collection of common programming errors
This:
07-18 04:26:30.696: W/dalvikvm(379): threadid=17: thread exiting with uncaught exception (group=0x4001aa28)
07-18 04:26:30.705: E/AndroidRuntime(379): Uncaught handler: thread Thread-9 exiting due to uncaught exception
07-18 04:26:30.776: E/AndroidRuntime(379): java.lang.ExceptionInInitializerError
07-18 04:26:30.776: E/AndroidRuntime(379): at com.drodin.tuxrider.Installer.InstallFiles(Installer.java:54)
07-18 04:26:30.776: E/AndroidRuntime(379): at com.drodin.tuxrider.Installer$1.run(Installer.java:41)
07-18 04:26:30.776: E/AndroidRuntime(379): at java.lang.Thread.run(Thread.java:1060)
07-18 04:26:30.776: E/AndroidRuntime(379): Caused by: java.lang.UnsatisfiedLinkError: Library tuxrider not found
07-18 04:26:30.776: E/AndroidRuntime(379): at java.lang.Runtime.loadLibrary(Runtime.java:489)
07-18 04:26:30.776: E/AndroidRuntime(379): at java.lang.System.loadLibrary(System.java:557)
07-18 04:26:30.776: E/AndroidRuntime(379): at com.drodin.tuxrider.NativeLib.(NativeLib.java:33)
07-18 04:26:30.776: E/AndroidRuntime(379): ... 3 more
Specifically:
at com.drodin.tuxrider.Installer.InstallFiles(Installer.java:54)
because of this:
07-18 04:26:30.776: E/AndroidRuntime(379): Caused by: java.lang.UnsatisfiedLinkError: Library tuxrider not found)
It seems to be looking a library that you don’t have in your project, or you may have it in your project, but you don’t have it linked; somethings missing.
Under properties check the Java Build Path tab, make sure that Private Libraries are checked under ‘Order and Export’ also make sure you have anything necessary in your libs folder…
EDIT: It seems that there is an issue with the GoogleAds API as per this question Building a JNI Lib for Tux Rider Android
Comment out all the GoogleAds code in MainActivity.