错误信息:

Android NDK: Could not find application project directory !    
Android NDK:  
/custom/android_sdk/ndk-bundle/build/core/build-local.mk:151: *** Android NDK: Aborting    .  Stop.、

从build-local.mk来看,是没有定义NDK_PROJECT_PATH

ifndef NDK_PROJECT_PATHNDK_PROJECT_PATH := $(call find-project-dir,.,AndroidManifest.xml)
endif
ifndef NDK_PROJECT_PATH$(call __ndk_info,Could not find application project directory !)$(call __ndk_info,Please define the NDK_PROJECT_PATH variable to point to it.)$(call __ndk_error,Aborting)
endif# Check that there are no spaces in the project path, or bad things will happen
ifneq ($(words $(NDK_PROJECT_PATH)),1)$(call __ndk_info,Your Android application project path contains spaces: '$(NDK_PROJECT_PATH)')$(call __ndk_info,The Android NDK build cannot work here. Please move your project to a different location.)$(call __ndk_error,Aborting.)
endif

解决方法:ndk-build指定PROJECT路径

ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk APP_BUILD_SCRIPT=Android.mk

解决Please define the NDK_PROJECT_PATH variable to point to it.相关推荐

  1. Error launching datagrip的if you already have a 64-bit JDK installed,define a JAVA_HOME variable in..

    Error launching datagrip if you already have a 64-bit JDK installed,define a JAVA_HOME variable in C ...

  2. tomcat配置报错解决方法 The jre_home environment variable is not defined correctly

    tomcat配置报错解决方法 The jre_home environment variable is not defined correctly 参考文章: (1)tomcat配置报错解决方法 Th ...

  3. 解决tensorflow报错ValueError: Variable conv1/weights already exists, disallowed.

    早上在跑别人的tensorflow代码时报错: Traceback (most recent call last):File "<ipython-input-23-712e8e1f02 ...

  4. php notice undefined variable,解决PHP提示Notice: Undefined variable的办法

    Undefined variable错误是什么问题呢,小编觉得这个是程序错误了,那么碰到Undefined variable要如何解决呢,我们一起来看看具体的解决办法吧. 我们知道在 php 中,变量 ...

  5. 【Linux】2020配置firefox +geckodriver + selenium 安装及报错解决办法:no DISPLAY environment variable specified

    Firefox+geckodriver + selenium 安装教程 Firefox:75.0 Geckodriver:0.26.0 Selenium:3.141.0 以上是我配置的版本 点击教程连 ...

  6. 解决MySQL的Unknown system variable ‘tx_isolation‘

    出错如图: 报错:java.sql.SQLException: Unknown system variable 'tx_isolation' 原因MySQL版本问题 mysql数据库的更新,在旧版本中 ...

  7. 【解决】ValueError:the environment variable is longer than 32767 characters

    报错:值错误:环境变量超过32767字符 原因: Python+Gurobi求解MILP问题时,不读取系统变量'LD_LIBRARY_PATH',而是在GUROBI_CMD类actualSolve方法 ...

  8. Android之NDK开发

    一.NDK产生的背景 Android平台从诞生起,就已经支持C.C++开发.众所周知,Android的SDK基于Java实现,这意味着基于Android SDK进行开发的第三方应用都必须使用Java语 ...

  9. Android之NDK开发学习总结

    Android之NDK开发 http://www.cnblogs.com/devinzhang/archive/2012/02/29/2373729.html 一.NDK产生的背景 Android平台 ...

  10. WINDOWS系统Eclipse+NDK+Android + OpenCv

    WINDOWS系统Eclipse+NDK+Android + OpenCv 参考文档博客 1 NDK环境搭建 http://jingyan.baidu.com/article/5d6edee22d90 ...

最新文章

  1. python 用for循环生成字典_我需要创建一个for循环来生成嵌套字典
  2. java jquery提交表单_Jquery ajax提交表单几种方法
  3. 活动报名 | 因果科学与Casual AI读书会
  4. 计算机能力应用免考证明,青岛学信NIT认证可以免考《管理系统中计算机的应用》笔试+实践...
  5. 编译x86架构的openwrt系统,让笔记本从u盘启动openwrt
  6. DOM操作中,遍历动态集合的注意事项。ex: elem.children
  7. 01_基于应用拆分的技术架构
  8. (二)nodejs循序渐进-nodejs基本类型和循环条件语法篇(基础篇)
  9. 设计模式之-模版模式(Template Pattern)
  10. C++宠物商店管理系统
  11. cadlisp框选打印_CAD中批量打印
  12. vscdoe常用快捷键
  13. (一)阿里云创建自己的产品和设备
  14. 高德地图API:如何根据经纬度获取位置信息
  15. 博客上怎么根据搜索ID搜索其它人
  16. win10变Linux风,雨林风木为你win10系统安装运行linux系统的图文教程
  17. Android调用新版百度天气api,解决地理编码问题
  18. 从京东双11战报中,找到未来值得国产品牌看好的发展机遇
  19. JS实现span标签显示年月日日期格式
  20. ubuntu小技巧6--如何修复Ubuntu系统引导项

热门文章

  1. 插桩valgrind_动态二进制插桩的原理和基本实现过程(一)
  2. php 线性回归算法,线性回归方程计算器
  3. KEIL MDK的安装(包含HAL库)
  4. 可道云 docker 群晖_利用群晖NAS同步文献
  5. mysql设备采集数据_怎么将PLC设备数据采集到SQL数据库
  6. rust go对比选择
  7. reportmachine中怎样实现“数据注脚footer1”里面的内容在每页显示
  8. RFID(射频识别)详解(带图)
  9. rtl8169网卡驱动linux,Realtek RTL8110/RTL8169网卡驱动7.005 For Win7
  10. WPF实现选项卡效果(1)——使用AvalonDock