配置Cygwin Path变量找到的Android NDK [英] Configuring Cygwin Path variable to find Android NDK
问题描述
我试图建立我的个人电脑使用Android NDK为我的项目。
我已经安装了Cygwin。我下载了Android NDK。比方说,我把NDK以下文件夹在我的电脑:
C:\\ Android_ndk \\<这里&GT的Android NDK的文件夹;
如何配置Cygwin的路径找到NDK?我想下面可能是部分正确的:
出口PATH = $ PATH:/ cygdrive / C / Android_ndk /<这里&GT的Android NDK的文件夹;
不过,我甚至不知道我有我的斜线以正确的方式轮。 P>
转到 .. \\ cygwin的\\家\\的Eclipse
。你会发现一个名为的.bashrc
文件。使用记事本打开它,并在文件末尾添加
出口PATH = $ PATH:/ cygdrive / C / Android_ndk /< Android的NDK文件夹中点击这里与GT;
如果您已经在发出正确所做的一切这NDK的构建
命令cygwin的终端上会给你
/ cygdrive / C / Android_ndk /<这里&GT的Android NDK的文件夹; / NDK的构建
希望这有助于你。
I am attempting to set up my PC to use the Android NDK for my projects. I have Cygwin installed. And I downloaded the Android NDK. Let's say I put the NDK in the following folder on my PC:
c:\Android_ndk\<android ndk folder in here>
How can I configure Cygwin's path to find the ndk? I am thinking the following may be partially correct:
export PATH=$PATH:/cygdrive/C/Android_ndk/<android ndk folder in here>
However I am not even sure I have my slashes the right way round.
Goto ..\cygwin\home\Eclipse
. You will find a file named .bashrc
. Open it using notepad and at the end of the file add
export PATH=$PATH:/cygdrive/c/Android_ndk/<android ndk folder in here>
If you have done everything correctly the on issuing which ndk-build
command on cygwin terminal will give you
/cygdrive/c/Android_ndk/<android ndk folder in here>/ndk-build
Hope this helps you.
这篇关于配置Cygwin Path变量找到的Android NDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!