June 27th, 2012, 10:45 AM
Thread Author (OP)
Join Date: Jun 2012
Carrier: Not Provided
Thanked 0 Times in 0 Posts
Is anyone comfortable setting up the NDK?
I am currently trying to install the NDK, but am confusing myself with things that I really shouldn't be. I have downloaded the ndk and unzipped it into the following location "C:/Users/andrew/android-ndk-r8-windows/android-ndk-r8/". I have been using several different tutorials, some of which tell me to edit my Environment variables, and some of which don't even mention them. These are two examples
"At this point, you may want to add the NDK tools to your path. If you’re on Mac or Linux,
you can do this with your native path setting. If you’re on Windows using Cygwin, you
need to configure the Cygwin path setting."
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"
I don't know what to do at this step. I have cygwin downloaded, but I have also heard from others that Cygwin is not needed.
Also, I don't know much about the NDK, only the general idea of what it is used for. If it makes a difference, I do not need to write any C code for my project. I have a project written in C that has its makefile already named Android.mk. I would like to call the methods from that file in my program.
My main problem with setting up the NDK is installing/extracting things in the proper place, and editing my environment variables. I have only been involved in the world of programming for about a year and half, and still have much to learn, so I'm sorry if these seem to be trivial or stupid questions. If anyone has any insight it would be greatly appreciated.