Android Studio 1.4 support?

Diane Cordero dcordero at sbimagingsystems.com
Fri Oct 23 13:34:26 PDT 2015


Hi Sebastian, 

I updated to 1.6.0 and am still seeing the same error:

FATAL EXCEPTION: main
Process: com.example.app, PID: 19619
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.app-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.app-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libgstreamer_android.so"
     at java.lang.Runtime.loadLibrary(Runtime.java:366)
     at java.lang.System.loadLibrary(System.java:989)
     at com.example.app.MainActivity.<clinit>(MainActivity.java:2456)
     at java.lang.reflect.Constructor.newInstance(Native Method)
     at java.lang.Class.newInstance(Class.java:1650)
     at android.app.Instrumentation.newActivity(Instrumentation.java:1079)
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2634)
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2867)
     at android.app.ActivityThread.access$900(ActivityThread.java:181)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1476)
     at android.os.Handler.dispatchMessage(Handler.java:102)
     at android.os.Looper.loop(Looper.java:145)
     at android.app.ActivityThread.main(ActivityThread.java:6134)
     at java.lang.reflect.Method.invoke(Native Method)
     at java.lang.reflect.Method.invoke(Method.java:372)
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

-----Original Message-----
From: gstreamer-android [mailto:gstreamer-android-bounces at lists.freedesktop.org] On Behalf Of Sebastian Dröge
Sent: Friday, October 23, 2015 11:57 AM
To: Discussions about GStreamer on Android <gstreamer-android at lists.freedesktop.org>
Subject: Re: Android Studio 1.4 support?

On Fr, 2015-10-23 at 18:48 +0000, Diane Cordero wrote:
> Thanks Brian,
>  
> I’ve upgraded GStreamer to 1.5.91

Why not 1.6.0? :)

http://gstreamer.freedesktop.org/data/pkg/android/1.6.0/

>  and am now seeing UnsatisfiedLinkErrors.

Which symbols are missing, and is it still a problem with 1.6.0?

>  I’ve packed the libraries into a .jar file that gets placed in 
> app/build/libs/. The .jar is being created fine and I can see the .so 
> files in it, but do I still call loadLibrary() the same way? How does 
> the program know where to look for the .so files? I’ve also tried 
> placing it in app/libs/ and adding it as a dependency and still no 
> luck.

Everything should work the same way as before really.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com



More information about the gstreamer-android mailing list