Android的CDT:可以使用NDK的构建没有庆典(Eclipse在Windows中)? [英] Android CDT: Possible to use ndk-build without bash (Eclipse in Windows)?

查看:131
本文介绍了Android的CDT:可以使用NDK的构建没有庆典(Eclipse在Windows中)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows上使用了Android NDK,版本R7B。我听说开始,这个版本就不需要Cygwin的或bash运行NDK的构建可执行,但也许我错了。在任何情况下,我似乎无法得到它在Eclipse工作只是以NDK的构建为命令行选项,我还是要坚持'庆典'在那里面前。有谁知道这是否是可能的?

I'm using the android ndk, version r7b on Windows. I'd heard that starting with this version you don't need cygwin or bash to run the ndk-build executable but maybe I'm wrong. In any case I can't seem to get it to work in Eclipse just with 'ndk-build' as the command line option, I still need to stick 'bash' in front of there. Does anyone know whether this is possible?

现在,当我换出'的bash NDK的构建'...... 只有NDK的构建... Eclipse中说:

Right now when I swap out 'bash ndk-build'.... with just 'ndk-build'... Eclipse says:

Cannot run program "c:\temp\android-ndk-r7b\ndk-build": Launching failed
Error: Program "c:/temp/android-ndk-r7b/ndk-build" is not found in PATH

..这是不正确的,在Android的NDK-R7B目录是在我的PATH环境变量,因为我一个星期前安装NDK一直不断。自那时以来,这样的值应该是提供给它,我已经打开和关闭的Eclipse无数次。所以我不知道是怎么回事。你还需要为庆典R7B?

..which is simply not true, the android-ndk-r7b directory is in my PATH environment variable and has been ever since I installed the NDK a week ago. I've opened and closed Eclipse numerous times since then so the value should be available to it. So I'm not sure what's going on here. Do you still need bash for r7b?

(顺便说一句,我使用的是C:\\ TEMP作为路径这里,因为我发现了NDK不带空格顺心目录路径艰辛的道路,并把它作为有一个快速修复它会找到一个永久性的。最终主场)

(BTW, I'm using c:\temp as the path here because I found out the hard way about NDK not liking directory paths with spaces, and put it there as a quick-fix. It'll find a permanent home eventually.)

推荐答案

仅供参考他人对他们来说,NDK的构建是行不通的。

Just FYI for others for whom ndk-build is not working.

我的设置是:Windows 7中,Eclipse的[靛蓝],NDK 8

My setup is: Windows 7, Eclipse[Indigo], NDK 8

而不是NDK的构建, NDK-build.cmd 工作对我罚款。

instead of ndk-build, ndk-build.cmd is working fine for me.

这篇关于Android的CDT:可以使用NDK的构建没有庆典(Eclipse在Windows中)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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