Error : Android NDK: Host 'awk' tool is outdated

Error : Android NDK: Host 'awk' tool is outdated
0.0 0


When I create android project from Win32 project using Cygwin terminal I am getting following error. Any solutions.

Using prebuilt externals
/usr/bin/awk: /usr/bin/awk: cannot execute binary file
Android NDK: Host ‘awk’ tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !

Steps I followed:
1)Crated Win32 Project
2)Created using create-android.project.bat
3)Trying to execute the file using Cygwin terminal and the above error is occurring. Any solution?

NB: I was successfully executed the Cygwin terminal for the same project 4 days before but this error is occurring from last day :frowning:


I have not idea.
May be your environment changed.
I think you can reinstall cygwin to resolve it.


Thanks Minggo
Re-installed cugwin.