<div dir="ltr">Hi Sebastian<div><br></div><div>I got it working. I am setting the environment variable in Android.mk instead of System Path or in command prompt. This is weird but its working. </div><div><br></div><div>One thing you said system environment variable name is <span style="font-size:13px">GSTREAMER_ROOT_ANDROID, but I see the variable is </span><span style="font-size:13px">GSTREAMER_SDK_ROOT_ANDROID in Android.mk. I have downloaded "</span>gstreamer-sdk-android-arm-debug-2013.6.zip" from the link given in <a href="http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development">http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development</a>. Am I doing something wrong ?</div><div><br></div><div>I am attaching the my Android.mk</div><div><br></div><div><br></div><div>Regards</div><div>Pankaj Bansal</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 29, 2014 at 4:12 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mo, 2014-12-29 at 12:05 +0530, pankaj bansal wrote:<br>
> Hi<br>
><br>
> I want to add one more thing. When I the eclipse hangs, I have to stop it<br>
> using end process in task manager. When I do that I get a window saying<br>
> "make.exe has stopped working". I thought may be the eclipse is building<br>
> the project or something, so I left it for 2 hours, but still it was hung.<br>
<br>
</span>The best would be to try running the Android tools from the commandline<br>
to see why exactly it fails. Unfortunately Eclipse is not very<br>
explanatory when things go wrong.<br>
<br>
You would have to run<br>
android update project -s -p . --target android-XX<br>
(replace XX with the android target you want to target)<br>
ndk-build<br>
ant debug<br>
<br>
After that you should have something in the bin directory, or saw an<br>
error somewhere that would tell us what exactly went wrong.<br>
<br>
Also note that the environment variable is called GSTREAMER_ROOT_ANDROID<br>
without the SDK part.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> On Sun, Dec 28, 2014 at 4:02 PM, pankaj bansal <<a href="mailto:pankaj.bansal.jiit@gmail.com">pankaj.bansal.jiit@gmail.com</a><br>
> > wrote:<br>
><br>
> > Hi<br>
> ><br>
> > Thank you for replying<br>
> ><br>
> > I followed the steps you mentioned. When I start my eclipse, it simply<br>
> > hangs. If the variable GSTREAMER_SDK_ROOT_ANDROID is not set, then eclipse<br>
> > does not hang but it gives error when I try to compile the tutorial (as<br>
> > expected). But when I set the GSTREAMER_SDK_ROOT_ANDROID system variable,<br>
> > the eclipse simply hang on starting. It keeps showing "Android Content<br>
> > Loader : (0%)". Following is the screen shot I am attaching where the<br>
> > eclipse hangs. I know its something to do with the NDK, but I am not able<br>
> > to figure it out.<br>
> ><br>
> > I have set the system variable GSTREAMER_SDK_ROOT_ANDROID  using command<br>
> > prompt and then start the eclipse from that command prompt<br>
> ><br>
> > I am able to run other android applications from the eclipse, so it works<br>
> > fine. I think the problem is with using the NDK.<br>
> > I have NDK version -  android-ndk-r9d<br>
> ><br>
> > Regards<br>
> > Pankaj Bansal<br>
> ><br>
> ><br>
> > On Thu, Nov 27, 2014 at 7:56 PM, Sebastian Dröge <<br>
> > <a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:<br>
> ><br>
> >> On Do, 2014-11-27 at 15:13 +0100, Alejandro Vázquez wrote:<br>
> >> > Hi !<br>
> >> ><br>
> >> > -Gstreamer  autobuild when you run some of the tutorials<br>
> >> > -The first thing to do is try to compile any of the tutorials.<br>
> >> > Step:<br>
> >> > 1- Dowload NDK r9 (the latter does not work with GStreamer).<br>
> >><br>
> >> That part is not entirely true. r10c works fine with 1.4.4 or newer.<br>
> >><br>
> >> > 2- Configure eclipse (Windows/preference/android/ndk)<br>
> >> > 3-Import the tutorials (GStreamerSDK/share/gst-sdk)<br>
> >><br>
> >> You can get tutorials for 1.x from here:<br>
> >> <a href="http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials" target="_blank">http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials</a><br>
> >><br>
> >> > 4-define GSTREAMER_ROOT_ANDROID (your path GStreamerSDK)<br>
> >> > 5-Convert to C/c++ Project (Select the project->New->C/C++->Convert to<br>
> >> > C/C++. Makefile project--Android GCC)<br>
> >> > 6-Compile and run.<br>
> >><br>
> >> 1.4.4 GStreamer binaries for Android can be downloaded from here:<br>
> >> <a href="http://gstreamer.freedesktop.org/data/pkg/android/1.4.4/" target="_blank">http://gstreamer.freedesktop.org/data/pkg/android/1.4.4/</a><br>
> >><br>
> >> --<br>
> >> Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
> >><br>
> >> _______________________________________________<br>
> >> gstreamer-devel mailing list<br>
> >> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> >> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
> >><br>
> >><br>
> ><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>