Android NDK location not valid in preferences on MAC

Eduardo Reis 08/28/2013. 1 answers, 6.512 views
android android eclipse osx android-ndk android-ndk

This is my .profile:

export ANDROID_NDK="/Users/eduardoreis/Documents/workspace-support/android-ndk-r9"
export ANDROID_NDK_ROOT="/Users/eduardoreis/Documents/workspace-support/android-ndk-r9"
export NDK="/Users/eduardoreis/Documents/workspace-support/android-ndk-r9"
export PATH="$PATH:$ANDROID_NDK"

And when I click in the option add Native Support it says: - NDK location not valid in preferences

And also, this Eclipse for some reason doesn't have Android>NDK>NDK_PTH (like on Windows OS) [I already saw this, Android-NDK-Add Native Support-NDK location not valid in preferences, but it is not my case] :/

Are my environment variables messed up or wrong?

5 Comments
krsteeve 08/28/2013
Do you have CDT installed? Do you have the NDK plugin (included with ADT) installed? The NDK plugin is listed separately from the rest of the Developer Tools.
Eduardo Reis 08/28/2013
I had all this things installed.
1 Eduardo Reis 08/28/2013
Whoops, Problem solved. I didn't know that that option Android>NDK just appears when we go to ADT preferences... I was going to project>preferences.... It's embarrassing how silly the problem was... anyways... thanks... :)
1 krsteeve 08/28/2013
You can make an answer with that information and accept it to wrap up your post :)
Eduardo Reis 10/25/2013
@krsteeve, thanks for suggest it. I'm still new on stackoverflow ;)

1 Answers


Eduardo Reis 11/01/2013.

Problem solved.

I didn't know that that option Android>NDK just appears when we go to ADT preferences... I was going to project>preferences.

Related questions

Hot questions

Language

Popular Tags