在Eclipse中为ndk程序设置构建路径 [英] Set Build path in Eclipse for ndk program

查看:135
本文介绍了在Eclipse中为ndk程序设置构建路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  14:43:33 ****增量配置默认为项目com ***。NDKDemo **** 
ndk-build all
无法运行程序ndk-build:未知原因

错误:PATH中没有找到程序ndk-build
PATH = [/ usr / local / sbin:/ usr / local / bin:/ usr / sbin:/ usr / bin:/ sbin:/ bin:/ usr /游戏]

14:43:33建成(16毫秒)

请给我一个解决方案,在Eclipse中包含构建路径。

解决方案

// goto 首选项 Android NDK ,然后选择您的ndk位置







在您隐藏的.bashrc文件中添加以下行

  export NDK_PATH = / home / padmakumar / android-ndk-r7b 


This error was shown when I build a android application program in Eclipse:

14:43:33 **** Incremental Build of configuration Default for project com.***.NDKDemo ****
ndk-build all 
Cannot run program "ndk-build": Unknown reason

Error: Program "ndk-build" not found in PATH
PATH=[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games]

14:43:33 Build Finished (took 16ms)

Please give me a solution to include the build path in Eclipse..

解决方案

//goto Preference Android NDK and choose your ndk location

or

in your hidden .bashrc file add this below line

export NDK_PATH=/home/padmakumar/android-ndk-r7b

这篇关于在Eclipse中为ndk程序设置构建路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆