<div dir="ltr"><div>This might shed some light into where the .so file needs to go. <a href="http://stackoverflow.com/a/16208717/387064" target="_blank">http://stackoverflow.com/a/16208717/387064</a><br></div><div><br></div><div><div><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 26, 2015 at 10:31 AM, Diane Cordero <span dir="ltr"><<a href="mailto:dcordero@sbimagingsystems.com" target="_blank">dcordero@sbimagingsystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sebastian,<br>
<br>
As expected, the files do not exist in the directories listed.<br>
<br>
Here's a sample of my gradle task:<br>
<br>
task ndkLibsToJar(type: Zip, dependsOn: 'ndkBuild', description: 'Create a JAR of the native libs') {<br>
    destinationDir new File(buildDir, 'libs')<br>
    baseName 'ndk-libs'<br>
    extension 'jar'<br>
    from(new File('/home/android-dev/AndroidDev/Projects/Pixa/app/src/main/', 'libs/armeabi')) { include '**/*.so' }<br>
    into 'lib/'<br>
}<br>
<br>
>From my understanding, this task is creating a .jar from the .so files and storing this file as a build output in 'libs' as well as copying it to 'lib/', which I am assuming refers to /data/app/com.example.app-1/lib/. I have tried changing that last line to 'lib/arm/' to no avail. At one point I was able to see the .so files in the /data/data/com.example.app/lib folder, but have been unable to reproduce.<br>
<br>
Couple of questions (I am new to Gradle):<br>
Is my assumption above correct? Should I be copying into a different directory on the last line of my Gradle task? Also, what is the significance of the "-1" at the end of the package name? I have seen this alternate between "-1" and "-2".<br>
<br>
Really appreciate your help, thank you.<br>
<span><font color="#888888">-Diane<br>
</font></span><span><br>
-----Original Message-----<br>
From: gstreamer-android [mailto:<a href="mailto:gstreamer-android-bounces@lists.freedesktop.org" target="_blank">gstreamer-android-bounces@lists.freedesktop.org</a>] On Behalf Of Sebastian Dröge<br>
</span><span>Sent: Saturday, October 24, 2015 9:17 AM<br>
To: Discussions about GStreamer on Android <<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a>><br>
Subject: Re: Android Studio 1.4 support?<br>
<br>
</span><div><div>On Fr, 2015-10-23 at 20:34 +0000, Diane Cordero wrote:<br>
> Hi Sebastian,<br>
><br>
> I updated to 1.6.0 and am still seeing the same error:<br>
><br>
> FATAL EXCEPTION: main<br>
> Process: com.example.app, PID: 19619<br>
> java.lang.UnsatisfiedLinkError:<br>
> dalvik.system.PathClassLoader[DexPathList[[zip file<br>
> "/data/app/com.example.app-<br>
> 1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.app-<br>
> 1/lib/arm, /vendor/lib, /system/lib]]] couldn't find<br>
> "libgstreamer_android.so"<br>
<br>
Well, does that file exist in one of the directory mentioned there?<br>
<br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
</div></div><div><div>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
</div></div></blockquote></div><br></div></div></div></div>