title: Android NDK: Could not find application project directory?
body: <p>At first, sorry for my broken english. 
  So, I try to run sample of audio mp3 recording using this source code:
  <a href="https://github.com/yhirano/Mp3VoiceRecorderSampleForAndroid" rel="nofollow">https://github.com/yhirano/Mp3VoiceRecorderSampleForAndroid</a></p>
  
  <p>If I build the project, i got an error:</p>
  
  <pre><code>Error:Execution failed for task ':app:ndkBuild'.
  &gt; A problem occurred starting process 'command 'ndk-build.cmd''
  </code></pre>
  
  <p>Then I open terminal in AndroidStudio and input: </p>
  
  <pre><code>1) cd c:\\ndk
  2) ndk-build
  </code></pre>
  
  <p>And also got another error:</p>
  
  <pre><code>Android NDK: Could not find application project directory !
  Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
  c:\ndk\build/core/build-local.mk:148: *** Android NDK: Aborting    .  Stop.
  </code></pre>
  
  <p>Ok, i doing next in terminal:</p>
  
  <pre><code>ndk-build NDK_PROJECT_PATH=c:/AndroidStudioProjects/Mp3VoiceRecorderSampleForAndroid-master/
  </code></pre>
  
  <p>this command give me positive result:</p>
  
  <pre><code>[armeabi] Install        : libmp3lame.so =&gt; libs/armeabi/libmp3lame.so
  </code></pre>
  
  <p>But if I rebuild my project 1st error come again! Searched a lot of answers but didnt find a solution..
  Please help! What I am doing wrong?</p>