title: Configure Android Studio for NDK
body: <p>I have been trying to configure Android Studio to use <code>NDK</code> on <code>windows 7</code>. As a test I imported <code>hello-jni</code> projects from the samples.</p>
  
  <p>I have done the following things -</p>
  
  <ol>
  <li><p>Added ndk directory to <code>ndk.dir</code> in <code>local.properties</code> file.</p></li>
  <li><p>In <code>settings&gt;other settings&gt;C/C++&gt;Path</code> settings Additional include directories I have added paths to <code>&lt;NDK install dir&gt;/platforms/android-21/arch-arm/usr/include</code> and <code>&lt;NDK install dir&gt;/sources/cxx-stl</code></p></li>
  <li><p>I also added a dummy.c file to shut up the error of no rule to make.</p></li>
  </ol>
  
  <p>The 2nd step above took care of most of the errors that were being generated by android studio but some remained notably there were red underlines under <code>(*env)</code> and <code>NULL</code> wherever they were used. The project compiles perfectly and without complaints.</p>
  
  <p>Another thing to note is that I am using <code>Ubuntu 14.04</code> at office where there are no errors in the ide and everything works smoothly while I am using <code>Windows 7</code> at home and I face the issues above.</p>
  
  <p>Am I missing something here?
  Thanks in advance.</p>