tutorials gstreamer 1.2 in android 4.4

Beka Iglesias rbciglesias at gmail.com
Sun Dec 8 10:59:06 PST 2013


Thanks for the attention :-)Yes, it looks like here it's the problem:

12-08 19:48:48.655: W/dalvikvm(4648): Exception
Ljava/lang/UnsatisfiedLinkError; thrown while initializing
Lcom/gst_sdk_tutorials/tutorial_1/Tutorial1;
12-08 19:48:48.655: W/dalvikvm(4648): Class init failed in newInstance call
(Lcom/gst_sdk_tutorials/tutorial_1/Tutorial1;)
12-08 19:48:48.655: D/AndroidRuntime(4648): Shutting down VM
12-08 19:48:48.655: W/dalvikvm(4648): threadid=1: thread exiting with
uncaught exception (group=0x41b0eb90)
12-08 19:48:48.655: E/AndroidRuntime(4648): FATAL EXCEPTION: main
12-08 19:48:48.655: E/AndroidRuntime(4648): Process:
com.gst_sdk_tutorials.tutorial_1, PID: 4648
12-08 19:48:48.655: E/AndroidRuntime(4648): java.lang.UnsatisfiedLinkError:
Couldn't load gstreamer_android from loader

...but I don't understand why it's a problem to load gstreaer_android
library in apk and not in the compilation...




2013/12/7 Sebastian Dröge <sebastian at centricular.com>

> On Sa, 2013-12-07 at 11:12 +0000, Beka Iglesias wrote:
> > Here logs attached.
>
> More logs than the last line please, the complete runtime of the
> application :) Also setting the GStreamer debug level higher to get more
> debug output would be a good idea.
>
> --
> Sebastian Dröge <sebastian at centricular.com>
> Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131208/5ebe71bc/attachment.html>
-------------- next part --------------
12-08 19:23:24.218: W/ActivityThread(2982): Application com.gst_sdk_tutorials.tutorial_1 is waiting for the debugger on port 8100...
12-08 19:23:24.228: I/System.out(2982): Sending WAIT chunk
12-08 19:23:24.228: I/dalvikvm(2982): Debugger is active
12-08 19:23:24.429: I/System.out(2982): Debugger has connected
12-08 19:23:24.429: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:24.629: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:24.829: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:25.029: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:25.229: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:25.420: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:25.620: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:25.820: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:26.020: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:26.220: I/System.out(2982): waiting for debugger to settle...
12-08 19:23:26.431: I/System.out(2982): debugger has settled (1459)
12-08 19:23:27.121: D/dalvikvm(2982): threadid=1: still suspended after undo (sc=1 dc=1)
12-08 19:48:48.655: W/dalvikvm(4648): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/gst_sdk_tutorials/tutorial_1/Tutorial1;
12-08 19:48:48.655: W/dalvikvm(4648): Class init failed in newInstance call (Lcom/gst_sdk_tutorials/tutorial_1/Tutorial1;)
12-08 19:48:48.655: D/AndroidRuntime(4648): Shutting down VM
12-08 19:48:48.655: W/dalvikvm(4648): threadid=1: thread exiting with uncaught exception (group=0x41b0eb90)
12-08 19:48:48.655: E/AndroidRuntime(4648): FATAL EXCEPTION: main
12-08 19:48:48.655: E/AndroidRuntime(4648): Process: com.gst_sdk_tutorials.tutorial_1, PID: 4648
12-08 19:48:48.655: E/AndroidRuntime(4648): java.lang.UnsatisfiedLinkError: Couldn't load gstreamer_android from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.gst_sdk_tutorials.tutorial_1-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.gst_sdk_tutorials.tutorial_1-2, /vendor/lib, /system/lib]]]: findLibrary returned null
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at java.lang.Runtime.loadLibrary(Runtime.java:358)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at java.lang.System.loadLibrary(System.java:526)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at com.gst_sdk_tutorials.tutorial_1.Tutorial1.<clinit>(Tutorial1.java:34)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at java.lang.Class.newInstanceImpl(Native Method)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at java.lang.Class.newInstance(Class.java:1208)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2093)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.app.ActivityThread.access$700(ActivityThread.java:135)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.os.Handler.dispatchMessage(Handler.java:102)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.os.Looper.loop(Looper.java:137)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at android.app.ActivityThread.main(ActivityThread.java:4998)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at java.lang.reflect.Method.invokeNative(Native Method)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at java.lang.reflect.Method.invoke(Method.java:515)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
12-08 19:48:48.655: E/AndroidRuntime(4648): 	at dalvik.system.NativeStart.main(Native Method)


More information about the gstreamer-android mailing list