I\'m running into a number of issues attempting to build the GStreamer Android tutorials.
My environment is:
I was facing the same problem but found nothing clear on internet. But somehow detail study of the problem led me to solve it.
To solve it you need to do the following steps in eclipse:
Windows->preferences->c/c++->build->Environment
Add
button on the right most of the window GSTREAMER_SDK_ROOT_ANDROID
" Value
field enter the location of the GStreamer SDK. In my case it was "C:\GStreamer_SDK
". HERE IS THE PROBLEMMMM.... you need to use forward slash "/
" instead of backward "\
" to make it work properly. so my Gstreamer SDK location will look like this "C:/GStreamer_SDK
"Once you are done with it. You need to do some changes in the Android.mk
file of your project.
Go to the following line
GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build/
and remove the ending forward slash from the line of code. so it like will look like this.
GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build
Save it and you are done with it!
If you don't remove the slash it will generate the path during build like this
c:/GStreamer_SDK/share/gst-android/ndk-build//gstreamer.mk
Double slashes are problem during build.
Now right click on project->clean
Project
Now build it by right click on your project->build
project.
If eclipse hangs while building just go to task manager and kill the make.exe
service two times.
Run your project on your device or emulator. Have fun!