Android CardBoard Lib

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Android CardBoard Lib

Tomas Lala
Hello everybody,

I'm trying to create app with gstreamer and cardboard views.
Problem comes, when i add cardboard.jar to my project.. Project build Ok, but when i launch app, i got this error:
E/AndroidRuntime: FATAL EXCEPTION: main
                                                   Process: cz.lala.carberry, PID: 23399
                                                   java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/cz.lala.carberry-1/base.apk"],nativeLibraryDirectories=[/data/app/cz.lala.carberry-1/lib/arm, /data/app/cz.lala.carberry-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libgstreamer_android.so"
                                                       at java.lang.Runtime.loadLibrary(Runtime.java:367)
                                                       at java.lang.System.loadLibrary(System.java:1076)
                                                       at cz.lala.carberry.activity.StreamActivity.<clinit>(StreamActivity.java:203)
                                                       at java.lang.Class.newInstance(Native Method)
                                                       at android.app.Instrumentation.newActivity(Instrumentation.java:1067)
                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2317)
                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
                                                       at android.app.ActivityThread.-wrap11(ActivityThread.java)
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
                                                       at android.os.Handler.dispatchMessage(Handler.java:102)
                                                       at android.os.Looper.loop(Looper.java:148)
                                                       at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                       at java.lang.reflect.Method.invoke(Native Method)
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Without .jar file app launch normally.

Gstreamer sdk: 1.6.3 (arm)
Android studio
Lastes ndk, downloaded by android studio

Thank you for all replies! :)
Reply | Threaded
Open this post in threaded view
|

Re: Android CardBoard Lib

Ugly Face
I am stuck at the same problem. I am trying to build gstreamer lib with android studio.

Do you get any ideas to get the problem done?
Reply | Threaded
Open this post in threaded view
|

Re: Android CardBoard Lib

Sebastian Dröge-3
On Di, 2016-03-15 at 00:52 -0700, Ugly Face wrote:
> I am stuck at the same problem. I am trying to build gstreamer lib
> with
> android studio.
>
> Do you get any ideas to get the problem done?

You can find a project that's buildable with Android studio here:
https://github.com/sdroege/gst-launch-remote/

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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment