unable to run gstreamer1.0 android apps on mac os x w/ android studio

Daniel Marfil danimarfil0 at gmail.com
Tue Sep 15 09:31:10 PDT 2015


Here’s my project:
https://github.com/danimarfil/android-tutorial-1 <https://github.com/danimarfil/android-tutorial-1>

This is what I have returned when using ndk-build from the terminal:

Android NDK: Could not find application project directory !    
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.    
/Volumes/HDD/android-ndk-r10e/build/core/build-local.mk:143: *** Android NDK: Aborting    .  Stop.

And this are the Path variables I have set up on Android Studio:

GSTREAMER_ROOT	/Volumes/HDD/GStreamer/gst-sdk-debug-arm7
GSTREAMER_ROOT_ANDROID	/Volumes/HDD/GStreamer/gst-sdk-debug-arm7
GSTREAMER_SDK_ROOT_ANDROID	/Volumes/HDD/GStreamer/gst-sdk-debug-arm7

Thanks for your help!

> El 15/9/2015, a las 14:54, Sérgio Agostinho <sergio.r.agostinho at gmail.com> escribió:
> 
> 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. 
> 
> Cheers
> 
> 2015-09-15 14:49 GMT+02:00 Sérgio Agostinho <sergio.r.agostinho at gmail.com <mailto:sergio.r.agostinho at gmail.com>>:
> Hi Daniel, 
> 
> Can you dump your project folder and file structure and show your Android.mk content?
> 
> Kind regards, 
> Sérgio
> 
> 2015-09-15 11:08 GMT+02:00 Daniel Marfil <danimarfil0 at gmail.com <mailto:danimarfil0 at gmail.com>>:
> Hi everyone,
> 
> I am trying to run up-to-date 'GStreamer 1.0' tutorials (http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials <http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials>).
> 
> I have already installed GStreamer 1.4.4 for OS X (http://gstreamer.freedesktop.org/data/pkg/osx/1.4.4/ <http://gstreamer.freedesktop.org/data/pkg/osx/1.4.4/>), and I am already using successfully the Android NDK.
> 
> But when I try to build any of the applications from the tutorials I get the next error:
> 
> Error:(20, 33) error: package org.freedesktop.gstreamer does not exist
> This is happening because it is not resolving this import statement:
> 
> import org.freedesktop.gstreamer.GStreamer;
> 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.
> 
> 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:
> 
> android.useDeprecatedNdk=true
> 
> I have set a path variable to the GStreamer SDK, on AndroidStudio -> Preferences->Build, Execution, Deployment->Path Variables:
> 
> GSTREAMER_ROOT_ANDROID = /Volumes/HDD/Gstreamer/gst-sdk-debug-arm GSTREAMER_SDK_ROOT_ANDROID = /Volumes/HDD/Gstreamer/gst-sdk-debug-arm
> 
> Thank you very much for your help
> 
> Dani
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel <http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150915/af6e87d7/attachment.html>


More information about the gstreamer-devel mailing list