GStreamer 1.4.4, Android Studio 1.3.2 and OS X Yosemite not working

621 Views Asked by At

I am trying to run up-to-date 'GStreamer 1.0' 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/), 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.

My NDK version is r10e, my Gradle version is 2.2.1 and its plugin is 1.3.0. I am using on gradle.properties the instruction:

android.useDeprecatedNdk=true

I have also 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

0

There are 0 best solutions below