Hi,

I have an application which has worked for a user up till now.  But with 
the last release, they're getting "crashes".  Looking at their submitted 
stack trace, it is a simple UnsatisfiedLinkError where the loadLibrary call 
fails to find the shared library.  I provide binaries for x86, armeabi and 
armeabi-v7a as of the last release.

I've tested the last release on:
- An x86 emulator (API level 10).
- An armeabi emulator (API level 10).
- An armeabi-v7a emulator (API level 16).

Due to the way I get limited error information from users, all I have is 
the stacktrace.  I don't have a Nexus 7 and cannot afford one, even if they 
were available in  my country (maybe they are for all I know).  I have no 
way to contact the user.

My best guess is that one of two changes in the last release caused the 
problem.  The first was specifying a target sdk version of 15, where before 
it was a default of the 8 the minimum sdk version is set to.   The second 
was compiling x86 and armeabi-v7a binaries in addition to the original 
default armeabi ones.  So either there's some sdk compatibility issue 
because of the target sdk version, or the Nexus 7 differs from the emulator 
in reality and has issues loading binaries.

Help?

The stacktrace follows.

java.lang.ExceptionInInitializerError
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1319)
at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load SDL2: findLibrary 
returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at org.disinterest.broguex.SDLActivity.<clinit>(SDLActivity.java:55)
... 15 more 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to