Reputation: 4863
I installed NDK
using Android Studio (SDK Manager). Where is the default directory of NDK
for Mac? How do I find the path to it?
Upvotes: 48
Views: 82206
Reputation: 796
You can find it on $ANDROID_SDK_PATH/ndk-bundle
.
ANDROID_SDK_PATH
is your SDK path which I suppose you have set it already.
Upvotes: 11
Reputation: 1210
Finding your SDK/NDK library path needs information about how you installed them. However, there are two possible solutions to find them
Using Terminal: Open Terminal and put the command as below. Hopefully, if ANDROID_HOME environment has been set.
echo $ANDROID_HOME
Upvotes: 4
Reputation: 1133
My understanding is that now the NDK bundle is being offered via the SDK Manager within Android Studio, it will install into the Android SDK directory as per the other components (platforms, build tools, support repositories, etc.) in the SDK Manager.
You can check the location of the SDK directory itself via Android Studio -> Preferences... -> Appearance & Behavior -> System Settings -> Android SDK -> Android SDK Location field near the top of the panel.
I've customised mine (it's editable) so I'm afraid I don't know what the default is, but if you check the contents of the directory listed in that field then the NDK should be installed into a subdirectory called ndk-bundle
.
Upvotes: 48