问题与构建Android NDK项目项目、问题、Android、NDK

由网友(蛊惑)分享简介:我尝试在Linux操作系统Ubuntu的Eclipse构建项目。Eclipse中显示错误消息:I try to build project in Eclipse on Linux Ubuntu.Eclipse show error message:**** Build of configuration Defa...

我尝试在Linux操作系统Ubuntu的Eclipse构建项目。 Eclipse中显示错误消息:

I try to build project in Eclipse on Linux Ubuntu. Eclipse show error message:

**** Build of configuration Default for project FFVideo ****

/home/art/android-ndk-r7b/ndk-build V=1 

Cannot run program "/home/art/android-ndk-r7b/ndk-build": Unknown reason
Error: Program "/home/art/android-ndk-r7b/ndk-build" is not found in PATH

PATH=[/home/art/android-ndk-r7b:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games]

**** Build Finished ****

为什么会发生?

Why it happened?

推荐答案

您需要设置路径在eclipse的Andr​​oid NDK。 1.打开C / C ++的视角。 2.右键单击该项目,并选择属性 3.选择C / C ++编译=>环境 4.添加PATH环境变量,包括路径到Android NDK。

You need to set the path to android ndk in eclipse. 1. Open C/C++ Perspective. 2. Right click on the project, and select "Properties" 3. Select C/C++ Build => Environment 4. Add PATH environment variable, include path to the android ndk.

阅读全文

相关推荐

最新文章