<div dir="ltr">I ported a large Native library that uses GStreamer to version 1.16 last summer. For internal development reasons, I tried doing the port to a number of different API levels, with the goal being to get it to build/run on 29 (Android Q). I got the port working on many releases of the NDK up to 20. I remember that there was one NDK/API combination that was not working. It was in the NDK 18-19/API 27-28 range. I'm sorry I don't have specifics. It was a while ago.<div><br></div><div>I do know that I got GStreamer 1.16/NDK-20/API 29 working. It took adding some tool path modifications to cerbero/config/android.config for all architectures except armv7. These were needed due to NDK-20 having renamed many of the tools to have the architecture triplet prepended. The NDKs prior to r20 do not need that.</div><div><br></div><div>My advice is: Upgrade to NDK r20. The further back one goes in NDK revisions, the less support there is for later Android OS releases. The NDKs are meant to provide backward compatibility. The default choice should always be to move forward.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 27, 2020 at 9:50 AM Jesper Elgh <<a href="mailto:jesel704@student.liu.se">jesel704@student.liu.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span>Hey! </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have been trying to upgrade GStreamer to version 1.16 from 1.14 in my android application but have encountered some problems. Version 1.16 requires, according to gstreamer's website, Android NDK r18b. When I try to run GStreamer 1.16 with NDK r18b I get an
error in android studio:<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div><br>
</div>
<div>"expected ndk stl shared object file at /home/exjobb/Documents/android-ndk-r18-b-linux-x86_64/android-ndk-r18b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a /libgnustl_shared.so ".<br>
</div>
<div><br>
</div>
<div>The cxx-stl folder is not on my computer, nor are the folders / files that come after.<br>
</div>
<div><br>
</div>
<div>I have googled and it seems that a general recommendation is to downgrade to r17c. I can't do that if GStreamer 1.16 requires r18b.</div>
<div><br>
</div>
<div>Thanks in advance!<br>
</div>
<div><br>
</div>
<div>Sincerely<br>
</div>
<span>Jesper</span><br>
</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="https://lists.freedesktop.org/mailman/listinfo/gstreamer-android" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(0,158,224);font-family:Arial,Helvetica,sans-serif;font-size:12px">Andrew Esh </span><br style="color:rgb(0,158,224);font-family:Arial,Helvetica,sans-serif;font-size:12px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:rgb(153,153,153)">Senior Software Engineer</span><br style="color:rgb(0,158,224);font-family:Arial,Helvetica,sans-serif;font-size:12px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px"><font color="#666666">Qterics</font></span><span style="color:rgb(0,158,224);font-family:Arial,Helvetica,sans-serif;font-size:12px"> </span><br style="color:rgb(0,158,224);font-family:Arial,Helvetica,sans-serif;font-size:12px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:rgb(153,153,153)">612-564-2580</span><br style="color:rgb(0,158,224);font-family:Arial,Helvetica,sans-serif;font-size:12px"><a href="http://www.qterics.com/" style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:rgb(0,158,224);text-decoration:none" target="_blank">www.qterics.com</a><a href="http://www.nielsen.com/" style="font-family:Arial,Helvetica,sans-serif;font-size:12px" target="_blank"><br></a><img src="https://test.supportview.com/images/qterics.png" width="96" height="24"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>