Question: I have been working with Android SDK for a while & just came across an requirement to use the NDK

So, I downloaded the Android NDK for Windows. Jumping on the first example, when I am trying to build the library using the process defined in the NDK example

<http://developer.android.com/sdk/ndk/overview.html>

Specifically the command /ndk-build from the command line

I am getting the error 

ndk-build is not recognized as an internal or external command, operable program or batch file

I have added the path for ndk-build in the PATH variable and even tried calling the command going to the folder, still the same error

Does anybody have a clue?

Answer: 
Guess that should have been an answer instead of a comment.

You must use Cygwin as your shell in order to run ndk-build.  

See <http://www.cygwin.com/>
Maybe, your development IDE hides system PATH and uses it's own PATH. I had same problem with MOTODEV Eclipse for Android 3.1. Detailed solution is here: [How to solve problem with Motodev Eclipse for Android 3.1: wrong PATH](http://serpents-iz.blogspot.com/2012/02/how-to-solve-problem-with-motodev.html)  It is for MOTODEV IDE, but Eclipse may have same thing.