解决Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
来源:互联网 发布:网络共享用户账户限制 编辑:程序博客网 时间:2024/06/10 02:56
想在windows环境下使用NDK-BUILD,于是安装了cygwin和ndk,编译JNI的时候出了下面的错误:
$ ./ndk-build -C samples/hello-jni
D:\android_sdk_windows\android-ndk-r7\prebuilt\windows\bin\awk.exe: can't open file /cygdrive/d/android_sdk_windows/android-ndk-r7/build/awk/check-awk.awk
source line number 1 source file /cygdrive/d/android_sdk_windows/android-ndk-r7/build/awk/check-awk.awk
context is
>>> <<<
Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
make: 进入目录“/cygdrive/d/android_sdk_windows/android-ndk-r7/samples/hello-jni”
/cygdrive/d/android_sdk_windows/android-ndk-r7/build/core/init.mk:258: *** Android NDK: Aborting. 。 停止。
make: 离开目录“/cygdrive/d/android_sdk_windows/android-ndk-r7/samples/hello-jni”
日志提示是awk过期,这是因为NDK自带的awk.exe程序过期,把它删除,使用aygwin的awk工具就好了。
解决方法:直接删除android-ndk-r7\prebuilt\windows\bin\awk.exe文件
- Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- 解决Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- 解决Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- 解决Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- 解决ndk编译Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- NDK的awk错误:Android NDK: Host 'awk' tool is outdated. Please define......
- NDK的awk错误:Android NDK: Host 'awk' tool is outdated. Please define......
- Android NDK: Host 'awk' tool is outdated.
- Android NDK: Host 'awk' tool is outdated.
- android NDK如何解决Please define the NDK_PROJECT_PATH variable to point to it
- AWK Vs NAWK Vs GAWK
- Please define the NDK_PROJECT_PATH variable to point to it
- Please define the NDK_PROJECT_PATH variable to point to it
- [ndk]Android NDK: Your APP_BUILD_SCRIPT points to an unknown file/Please define the NDK_PROJECT_PATH
- awk、gawk、nawk、mawk的简单介绍
- 解决Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE..
- 如何解除SVN对文件夹的锁定
- C++编写windows服务学习笔记(转载)
- javaScript学习笔记-Function2
- C/C++初学者练习指针的两个绝好的例子
- mysql数据库开发规范
- 解决Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
- SWOT分析与生涯规划
- centos设置静态IP
- 防止内存泄露 Linux下用Valgrind做检查
- VC使用dump
- javascript的urlencode
- JAVA 之 Date常用方法
- 微信之父张小龙:产品之上的世界观
- seekg()/seekp()与tellg()/tellp()的用法详解 .