NDK编译时出现can't open file check-awk.awk错误的解决办法

在执行$NDK-build时,如果出现错误:

NDK\prebuilt\windows\bin\awk.exe: can't open file /cygdrive/d/NDK/build/awk/check-awk.awk
source line number 1 source file /cygdrive/d/NDK/build/awk/check-awk.awk
context is
         >>>  <<<
Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
/cygdrive/d/NDK/build/core/init.mk:258: *** Android NDK: Aborting.    .  Stop.

解决方法:

找到 \NDK目录\prebuilt\windows\bin\awk.exe,把awk.exe删除或改名,之后编译通过。