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

Daniel Marfil danimarfil0 at gmail.com
Tue Sep 15 02:08:58 PDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150915/f438fa77/attachment.html>


More information about the gstreamer-devel mailing list