title: Can't Configure NDK path on android studio
body: <p>I have an android studio project which requires the NDK to be set.
  I had downloaded an NDK manually and extracted it to a directory in my C: drive.
  What I did was to follow the instructions which are online and I went to : File-&gt;Project structure, and tried to set the NDK path.
  But the search box there was disabled as shown in the image,</p>
  <p><a href="https://i.stack.imgur.com/h10at.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h10at.png" alt="enter image description here" /></a></p>
  <p>I then set environment variables to point where the ndk was located.
  Here are the names I used for the environment variables: &quot;ANDROID_NDK_ROOT&quot; and later &quot;ANDROID_NDK_HOME&quot; when the former didn't work.</p>
  <p>So I clicked on the Download button below the disabled search box. After letting android studio do its thing and download another NDK, I restarted android studio, just find out that the search box was disabled, and I couldn't set the NDK path.</p>
  <p>Then I went to SDK Manager -&gt; SDK Tools -&gt; I checked the android NDK and CMAKE, then waited for it to download.</p>
  <p>But after downloading again, android studio still couldn't find the NDK.
  I set the environment variables and even restarted my PC.</p>
  <p>This thing is extremely frustrating, what the hell have I done wrong ? Please can someone tell me ?</p>