Shared libraries location on Android -
[this common android question, don't on gstreamer keywords]
i trying use gstreamer on android via xamarin.android(in visual studio), built this sample project on ubuntu, took compiled libtutorial-5.so , libgstreamer_android.so libraries , added them xamarin.android project androidnativelibrary's. when try use libgstreamer_android.so using dllimport, going ok, when try use libtutorial-5.so (of course using dllimport), get:
dllimport unable load library 'dlopen failed: not load library "build/obj/local/armeabi-v7a/libgstreamer_android.so" needed "libtutorial-5.so"; caused library "build/obj/local/armeabi-v7a/libgstreamer_android.so" not found'.
this error occurs because libtutorial-5.so depends on libgstreamer_android.so. libtutorial-5.so trying find libgstreamer_android.so library in build/obj/local/armeabi-v7a/libgstreamer_android.so location.
but of course these 2 libraries located in lib/armeabi-v7a directory , if replace 2 libraries or libgstreamer_android.so in location, still have error. think have 2 options:
- how can replace library in real
build/obj/local/armeabi-v7adirectory(because if use location insolution explorerstill have issue)?
or
- how can change path of library on first library depend in
android studioor in.mkfiles(on.sobuilding stage)?
Comments
Post a Comment