I am getting \"Android NDK: Host \'awk\' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !\" error on latest android ndk revision 7.
Solved the problem.
Solution:
- Navigate to ../android-ndk-r7/prebuilt/linux-x86/bin
- Rename the file awk to awk_
Imoprtant thing to note on windows machine:
ndk revision 7 onwards, ndk source can be built without cygwin, ie.., instead of calling ndk-build command from inside a Cygwin shell, you should call run ndk-build.cmd inside a MSDOS command window.
It works because probably ndk-build first tries to use a locally defined, but old (at least for Linux), version of awk. By renaming it, we make it unreachable by such command, so, apparently, ndk-build calls the system-wide awk.