在Windows上的Android NDK环境变量7 [英] Android NDK Environment Variables on Windows 7
问题描述
目前我正在试图让NDK并在Eclipse中运行。我已看过一些教程,发现一个似乎是有道理的我。然而,它说:
I am currently trying to get the NDK up and running in Eclipse. I have read several tutorials, and found one that seems to make sense to me. However, it says:
Please make sure that you have set the environment variables like
JAVA_HOME -- Java Home Directory
NDK_HOME -- Android NDK Home Directory
Update Path Variable with JDK Bin folder
我在我的环境变量窗口,但很困惑该怎么办。我没有JAVA_HOME变量,所以我需要创建它,而是用什么样的价值?这同样与NDK_HOME。我有一个PATH变量,当我安装了Cygwin我刚才编辑。
I am in my Environment Variables window, but am confused about what to do. I have no JAVA_HOME variable yet, so I need to create it, but with what value? The same goes with the NDK_HOME. I do have a PATH variable, which I edited earlier when I installed Cygwin.
顺便说一句,这是我使用教程:<一href=\"http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7/\" rel=\"nofollow\">http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7/
By the way, this is the tutorial I am using: http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7/
推荐答案
我能够用在ARM网站(信息的 http://ds.arm.com/ds-5-community-edition/ )。
I was able to generate an NDK development environment in Eclipse by using the information on the ARM site (http://ds.arm.com/ds-5-community-edition/).
有一些注意事项使用NDK。你会碰到的问题:(\\程序文件(x86)\\ Android的,例如C)例如,如果您在具有嵌入空格的路径安装。
There are some caveats to using the NDK. For instance, if you installed it in a path that has spaces embedded (for example C:\program files (x86)\Android) you'll run into problems.
尝试在命令提示符下运行NDK-build.cmd命令查看,如果你有安装任何问题。
Try to run the ndk-build.cmd command in a command prompt to see if you have any problems with your installation.
这篇关于在Windows上的Android NDK环境变量7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!