title: Adding Gstreamer support to an android NDK project
body: <p>I've installed the latest android SDK bundle as well as the latest android NDK on windows 7.</p>
  
  <p>I've set up my environment and am able to run the hellojni example from the NDK installation package. </p>
  
  <p>But when i try to add Gstreamer support according to the creating new projects section of the <a href="http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development" rel="nofollow">gstreamer android tutorial page</a>, I get this error when i try to build my project:</p>
  
  <pre><code>GStreamer      : [COMPILE] =&gt; gst-build/gstreamer_android.c
  gst-build/gstreamer_android.c:1:17: fatal error: jni.h: No such file or directory
  compilation terminated.
  E:/GstreamerAndroid/sdk/share/gst-android/ndk-build//gstreamer.mk:167: recipe for 
  target `gst-build/gstreamer_android.o' failed
  make: *** [gst-build/gstreamer_android.o] Error 1
  </code></pre>
  
  <p>I tried a few solutions such as setting my path variable to the jni.h in NDK (eg. ndkr8e\platforms\android-14\arch-arm\usr\include) but nothing works.</p>
  
  <p>Can anyone suggest any other solutions?</p>
  
  <p><strong>EDIT:</strong> As suggested my iljan, i downloaded an older version of the android NDK (r8d), and i got my project to compile. But i don't understand whether the problem was from my side or a bug in the NDK version. Any thoughts? </p>