Android NDK revision 7 Host 'awk' tool is outdated error

后端 未结 5 1218
小鲜肉
小鲜肉 2020-12-09 08:57

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.

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-09 09:26

    I was having a problem with different versions of awk on windows. This change uses the cygwin version of awk from a cygwin console and the prebuilt version from a dos console.

    Add to init.mk:

    ifeq ($(HOST_OS),cygwin)
           HOST_AWK := /bin/awk
    endif
    

提交回复
热议问题