Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Emulator does not launch LibGDX project?
    primarykey
    data
    text
    <p>Whenever i try to execute the application on the emulator, the emulator displays an error saying "Unfortunately, My libGDX Game has stopped." The application runs fine in the desktop version though. </p> <p>I have the latest nightly version, ADT version 18, latest GWT, and latest version of eclipse. My Android SDK tools is version 19, while my android SDK platform-tools is version 11. </p> <p>Any ideas on how to fix this?</p> <p>I was following along this tutorial: <a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=pOYrtJwYaGw#!" rel="nofollow noreferrer">LibGDX tutorial</a></p> <p>Here is a screenshot of what i see: <img src="https://i.stack.imgur.com/ffRPt.jpg" alt="Emulator Screenshot"></p> <p>Logcat:</p> <pre><code>06-10 19:50:44.282: I/Process(1548): Sending signal. PID: 1548 SIG: 9 06-10 19:50:48.022: I/dalvikvm(1566): threadid=3: reacting to signal 3 06-10 19:50:48.152: I/dalvikvm(1566): Wrote stack traces to '/data/anr/traces.txt' 06-10 19:50:48.312: W/dalvikvm(1566): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/badlogic/gdx/backends/android/AndroidApplication; 06-10 19:50:48.312: W/dalvikvm(1566): Class init failed in newInstance call (Lcom/me/mygdxgame/MainActivity;) 06-10 19:50:48.322: D/AndroidRuntime(1566): Shutting down VM 06-10 19:50:48.332: W/dalvikvm(1566): threadid=1: thread exiting with uncaught exception (group=0xb40d5180) 06-10 19:50:48.392: E/AndroidRuntime(1566): FATAL EXCEPTION: main 06-10 19:50:48.392: E/AndroidRuntime(1566): java.lang.ExceptionInInitializerError 06-10 19:50:48.392: E/AndroidRuntime(1566): at java.lang.Class.newInstanceImpl(Native Method) 06-10 19:50:48.392: E/AndroidRuntime(1566): at java.lang.Class.newInstance(Class.java:1319) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.app.Instrumentation.newActivity(Instrumentation.java:1023) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.app.ActivityThread.access$600(ActivityThread.java:123) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.os.Handler.dispatchMessage(Handler.java:99) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.os.Looper.loop(Looper.java:137) 06-10 19:50:48.392: E/AndroidRuntime(1566): at android.app.ActivityThread.main(ActivityThread.java:4424) 06-10 19:50:48.392: E/AndroidRuntime(1566): at java.lang.reflect.Method.invokeNative(Native Method) 06-10 19:50:48.392: E/AndroidRuntime(1566): at java.lang.reflect.Method.invoke(Method.java:511) 06-10 19:50:48.392: E/AndroidRuntime(1566): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 06-10 19:50:48.392: E/AndroidRuntime(1566): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 06-10 19:50:48.392: E/AndroidRuntime(1566): at dalvik.system.NativeStart.main(Native Method) 06-10 19:50:48.392: E/AndroidRuntime(1566): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load gdx: findLibrary returned null 06-10 19:50:48.392: E/AndroidRuntime(1566): at java.lang.Runtime.loadLibrary(Runtime.java:365) 06-10 19:50:48.392: E/AndroidRuntime(1566): at java.lang.System.loadLibrary(System.java:535) 06-10 19:50:48.392: E/AndroidRuntime(1566): at com.badlogic.gdx.utils.GdxNativesLoader.load(GdxNativesLoader.java:116) 06-10 19:50:48.392: E/AndroidRuntime(1566): at com.badlogic.gdx.backends.android.AndroidApplication.&lt;clinit&gt;(AndroidApplication.java:59) 06-10 19:50:48.392: E/AndroidRuntime(1566): ... 15 more 06-10 19:50:49.152: I/dalvikvm(1566): threadid=3: reacting to signal 3 06-10 19:50:49.192: I/dalvikvm(1566): Wrote stack traces to '/data/anr/traces.txt' 06-10 19:50:49.972: I/dalvikvm(1566): threadid=3: reacting to signal 3 06-10 19:50:50.012: I/dalvikvm(1566): Wrote stack traces to '/data/anr/traces.txt' 06-10 19:50:52.093: I/dalvikvm(1566): threadid=3: reacting to signal 3 06-10 19:50:52.112: I/dalvikvm(1566): Wrote stack traces to '/data/anr/traces.txt' </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload