Errors like "Not a valid NDK directory" appear when Eclipse selects the NDK path
Solution 1
Create an empty ndk-build file in the home directory of the ndk you installed, and then reopen the dialog to select it.
Solution 2
Go directly to the build directory
I am using the second