Log in or register to post comments

NDK, dont work ndk-build

March 17, 2012 - 10:56pm #1

i have a problem with my NDK path in Mac OS X, seted the path in rc.common and dont works the ndk-build :(

Mac OS X, Snow Leopard

Re: NDK, dont work ndk-build

March 19, 2012 - 6:41pm #6

Hmm, well setting it in .bash_profile should have worked. I recommend doing a bit of web research, here's one helpful thread:

http://superuser.com/questions/69130/where-does-path-get-set-in-os-x-10-6-snow-leopard

Try changing the path, restarting the Terminal, and then echoing the path to see if the changes are taking effect.

- Kim

Re: NDK, dont work ndk-build

March 18, 2012 - 10:23pm #5

Dude, I set in me shell PATH=$PATH: "PATH of ndk" ; export PATH, and works, but if i exit the shell, the echo $PATH restore the default path and delet the path of the ndk

Re: NDK, dont work ndk-build

March 18, 2012 - 8:31pm #4

Did you restart the Terminal after making the change? You can type "echo $PATH" to see what the session thinks your path is.

- Kim

Re: NDK, dont work ndk-build

March 18, 2012 - 7:47pm #3

dude, i dont have .profile in my home, but i have .bash_prifile and i put the path and dont work ndk-build :(

Re: NDK, dont work ndk-build

March 18, 2012 - 6:41pm #2

I typically set the path in a .profile file in my home directory. The PATH entry looks like this:

export PATH=/Users/ksiva/Development/Android/android-sdk-macosx/tools:/Users/ksiva/Development/Android/android-sdk-macosx/platform-tools:/Users/ksiva/Development/Android/android-ndk-r7:$PATH

- Kim

Log in or register to post comments