<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Here’s my project:<div class=""><a href="https://github.com/danimarfil/android-tutorial-1" class="">https://github.com/danimarfil/android-tutorial-1</a></div><div class=""><br class=""></div><div class="">This is what I have returned when using ndk-build from the terminal:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Android NDK: Could not find application project directory !    </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.    </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">/Volumes/HDD/android-ndk-r10e/build/core/build-local.mk:143: *** Android NDK: Aborting    .  Stop.</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px;" class="">And this are the Path variables I have set up on Android Studio:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><table class="">
<tbody class=""><tr class="">
  <td class=""><span style="font-size: 11px;" class="">GSTREAMER_ROOT</span></td>
  <td class=""><span style="font-size: 11px;" class="">/Volumes/HDD/GStreamer/gst-sdk-debug-arm7</span></td>
</tr>
</tbody></table><table class="">
<tbody class=""><tr class="">
  <td class=""><span style="font-size: 11px;" class="">GSTREAMER_ROOT_ANDROID</span></td>
  <td class=""><span style="font-size: 11px;" class="">/Volumes/HDD/GStreamer/gst-sdk-debug-arm7</span></td>
</tr>
</tbody></table><table class="">
<tbody class=""><tr class="">
  <td class=""><span style="font-size: 11px;" class="">GSTREAMER_SDK_ROOT_ANDROID</span></td>
  <td class=""><span style="font-size: 11px;" class="">/Volumes/HDD/GStreamer/gst-sdk-debug-arm7</span></td>
</tr>
</tbody></table><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Thanks for your help!</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">El 15/9/2015, a las 14:54, Sérgio Agostinho <<a href="mailto:sergio.r.agostinho@gmail.com" class="">sergio.r.agostinho@gmail.com</a>> escribió:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">If the Gstreamer.java is not showing anywhere it might also mean that your not compiling the native code prior to the Java parts. Try running ndk-build from the terminal and see if it's compiling and generating the java file. <div class=""><br class=""></div><div class="">Cheers</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-09-15 14:49 GMT+02:00 Sérgio Agostinho <span dir="ltr" class=""><<a href="mailto:sergio.r.agostinho@gmail.com" target="_blank" class="">sergio.r.agostinho@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">Hi Daniel, </div><div class=""><br class=""></div>Can you dump your project folder and file structure and show your Android.mk content?<div class=""><br class=""></div><div class="">Kind regards, </div><div class="">Sérgio</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="h5">2015-09-15 11:08 GMT+02:00 Daniel Marfil <span dir="ltr" class=""><<a href="mailto:danimarfil0@gmail.com" target="_blank" class="">danimarfil0@gmail.com</a>></span>:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="h5"><div style="word-wrap:break-word" class=""><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgb(255,255,255)" class="">Hi everyone,</p><div class=""><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(11,101,165)" class=""><span style="color:rgb(35,35,35)" class="">I am trying to run up-to-date 'GStreamer 1.0' tutorials (<a href="http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials" target="_blank" class=""><span style="color:rgb(11,101,165)" class="">http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials</span></a>).</span></p><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">I have already installed GStreamer 1.4.4 for OS X (<a href="http://gstreamer.freedesktop.org/data/pkg/osx/1.4.4/" target="_blank" class=""><span style="color:rgb(11,101,165)" class="">http://gstreamer.freedesktop.org/data/pkg/osx/1.4.4/</span></a>), and I am already using successfully the Android NDK.</p><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">But when I try to build any of the applications from the tutorials I get the next error:</p><div style="margin:0px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class=""><span style="background-color:rgb(255,249,227)" class="">Error:(20, 33) error: package org.freedesktop.gstreamer does not exist</span></div><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">This is happening because it is not resolving this import statement:</p><div style="margin:0px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class=""><span style="background-color:rgb(255,249,227)" class="">import org.freedesktop.gstreamer.GStreamer;</span></div><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">I have read that this is because while building, it should make a new folder with GStreamer files, but that's not happening and I have no idea why. I have already read many solutions but none is working to me.</p><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">My NDK version is r10e, my Gradle version is 2.2.1 and its plugin is 1.3.0. I am also using on gradle.properties the instruction:</p><div style="margin:0px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class=""><span style="background-color:rgb(255,249,227)" class="">android.useDeprecatedNdk=true</span></div><div style="margin:0px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class=""><span style="background-color:rgb(255,249,227)" class=""><br class=""></span></div><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">I have set a path variable to the GStreamer SDK, on AndroidStudio -> Preferences->Build, Execution, Deployment->Path Variables:</p><div style="margin:0px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class=""><span style="background-color:rgb(255,249,227)" class="">GSTREAMER_ROOT_ANDROID = /Volumes/HDD/Gstreamer/gst-sdk-debug-arm GSTREAMER_SDK_ROOT_ANDROID = /Volumes/HDD/Gstreamer/gst-sdk-debug-arm</span></div><div style="margin:0px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35);min-height:17px" class=""><br class=""></div><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">Thank you very much for your help</p><p style="margin:0px 0px 15px;font-size:15px;font-family:'Helvetica Neue';color:rgb(35,35,35)" class="">Dani</p></div></div><br class=""></div></div>_______________________________________________<br class="">
gstreamer-devel mailing list<br class="">
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank" class="">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</blockquote></div><br class=""></div>
_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></blockquote></div><br class=""></div></body></html>