Android CardBoard Lib

Tomas Lala tom.lala at seznam.cz
Fri Feb 5 19:13:23 UTC 2016


Hello everybody,

I'm trying to create app with gstreamer and cardboard views.
Problem comes, when i add  cardboard.jar
<https://github.com/googlesamples/cardboard-java/blob/master/CardboardSample/libs/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! :)




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Android-CardBoard-Lib-tp4675696.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list