hi,everyone, My app with a ".so" can't run on android 2.3 witch runs nomarlly on 1.6,2.1 and 2.2.When it starts up to System.loadLibrary the "so" file,the system throws a exception "java.lang.ExceptionInInitializerError",the detail below: ERROR/AndroidRuntime(333): FATAL EXCEPTION: main ERROR/AndroidRuntime(333): java.lang.ExceptionInInitializerError ERROR/AndroidRuntime(333): at java.lang.Class.newInstanceImpl(Native Method) ERROR/AndroidRuntime(333): at java.lang.Class.newInstance(Class.java:1409) ERROR/AndroidRuntime(333): at android.app.Instrumentation.newActivity(Instrumentation.java:1021) ERROR/AndroidRuntime(333): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1536) ERROR/AndroidRuntime(333): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638) ERROR/AndroidRuntime(333): at android.app.ActivityThread.access$1500(ActivityThread.java:117) ERROR/AndroidRuntime(333): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928) ERROR/AndroidRuntime(333): at android.os.Handler.dispatchMessage(Handler.java:99) ERROR/AndroidRuntime(333): at android.os.Looper.loop(Looper.java:123) ERROR/AndroidRuntime(333): at android.app.ActivityThread.main(ActivityThread.java:3647) ERROR/AndroidRuntime(333): at java.lang.reflect.Method.invokeNative(Native Method) ERROR/AndroidRuntime(333): at java.lang.reflect.Method.invoke(Method.java:507) ERROR/AndroidRuntime(333): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) ERROR/AndroidRuntime(333): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) ERROR/AndroidRuntime(333): at dalvik.system.NativeStart.main(Native Method) ERROR/AndroidRuntime(333): Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1311]: 33 cannot locate '_length_code'... ERROR/AndroidRuntime(333): at java.lang.Runtime.loadLibrary(Runtime.java:434) ERROR/AndroidRuntime(333): at java.lang.System.loadLibrary(System.java:554) ERROR/AndroidRuntime(333): at com.amuse.Plugin.<clinit>(Plugin.java:9) ERROR/AndroidRuntime(333): ... 15 more
the log says that "Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1311]:".I also comiled my "so" file with ndk-r5,but the still the problem. Please help me!! Thanks in advance! -- 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