{"id":3367,"date":"2014-03-23T11:24:07","date_gmt":"2014-03-23T11:24:07","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/tux-rider-compiles-but-crashes-on-startup-collection-of-common-programming-errors\/"},"modified":"2014-03-23T11:24:07","modified_gmt":"2014-03-23T11:24:07","slug":"tux-rider-compiles-but-crashes-on-startup-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/tux-rider-compiles-but-crashes-on-startup-collection-of-common-programming-errors\/","title":{"rendered":"Tux Rider compiles but crashes on startup-Collection of common programming errors"},"content":{"rendered":"<p>This:<\/p>\n<pre><code>07-18 04:26:30.696: W\/dalvikvm(379): threadid=17: thread exiting with uncaught exception (group=0x4001aa28)\n07-18 04:26:30.705: E\/AndroidRuntime(379): Uncaught handler: thread Thread-9 exiting due to uncaught exception\n07-18 04:26:30.776: E\/AndroidRuntime(379): java.lang.ExceptionInInitializerError\n07-18 04:26:30.776: E\/AndroidRuntime(379):      at com.drodin.tuxrider.Installer.InstallFiles(Installer.java:54)\n07-18 04:26:30.776: E\/AndroidRuntime(379):      at com.drodin.tuxrider.Installer$1.run(Installer.java:41)\n07-18 04:26:30.776: E\/AndroidRuntime(379):      at java.lang.Thread.run(Thread.java:1060)\n07-18 04:26:30.776: E\/AndroidRuntime(379): Caused by: java.lang.UnsatisfiedLinkError: Library tuxrider not found\n07-18 04:26:30.776: E\/AndroidRuntime(379):      at java.lang.Runtime.loadLibrary(Runtime.java:489)\n07-18 04:26:30.776: E\/AndroidRuntime(379):      at java.lang.System.loadLibrary(System.java:557)\n07-18 04:26:30.776: E\/AndroidRuntime(379):      at com.drodin.tuxrider.NativeLib.(NativeLib.java:33)\n07-18 04:26:30.776: E\/AndroidRuntime(379):      ... 3 more\n<\/code><\/pre>\n<p>Specifically:<\/p>\n<pre><code> at com.drodin.tuxrider.Installer.InstallFiles(Installer.java:54)\n<\/code><\/pre>\n<p>because of this:<\/p>\n<pre><code>07-18 04:26:30.776: E\/AndroidRuntime(379): Caused by: java.lang.UnsatisfiedLinkError: Library tuxrider not found)\n<\/code><\/pre>\n<p>It seems to be looking a library that you don&#8217;t have in your project, or you may have it in your project, but you don&#8217;t have it linked; somethings missing.<\/p>\n<p>Under properties check the Java Build Path tab, make sure that Private Libraries are checked under &#8216;Order and Export&#8217; also make sure you have anything necessary in your libs folder&#8230;<\/p>\n<p>EDIT: It seems that there is an issue with the GoogleAds API as per this question Building a JNI Lib for Tux Rider Android<\/p>\n<p>Comment out all the GoogleAds code in MainActivity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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): [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3367","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3367"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3367\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}