Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The
Sequoyah Project automates most of the tasks discussed in this article. You can even find
instructions for debugging your native code with Eclipse.
This was inspired by Robert Green's article,
Get Your Eclipse-Integrated NDK On! Luckily, with the new R4 release of the Android Native Development Kit (NDK), the procedure has become much much easier.
Download Cygwin from
http://cygwin.org - ver. 1.7.5 is OK. I recommend using the default installation directory: Install it in
Make sure that c:\cygwin\bin is added to PATH. I set the environment variable
CYGWIN=nodosfilewarning to make Windows integration easier.