Reputation: 1971
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?
Upvotes: 3
Views: 6891
Reputation: 1971
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.
Upvotes: 5