install android ndk, host-setup.sh error

来源:互联网 发布:图片怎么在淘宝上搜索 编辑:程序博客网 时间:2024/05/16 11:07

when i install the android ndk on my ubuntu: build/host-setup.sh

i got this error:

Checking host development environment.
NDK Root   : /home/vera/programs/android-ndk
GNU Make   : make (version 3.81)
[: 205: Pass: unexpected operator
[: 205: Pass: unexpected operator
[: 205: Pass: unexpected operator
ERROR: Could not find a valid Nawk or Gawk executable.
       Please ensure that either one of them is installed.
       Use the --no-awk-check option to ignore this message.

 

then search a lot of website, finally find the selution:

inside the .sh, on line 119, change the if statment "reslut"="pass"

 

original website is:

http://groups.google.com/group/android-ndk/browse_thread/thread/2127fa52b6aa362c

 

原创粉丝点击