title: Android NDK configuration: Execution failed for task
body: <p>Same issue as <a href="https://stackoverflow.com/questions/29122903/ndk-is-not-configured-issue-in-android-studio">NDK is not configured issue in android studio</a>. I added the path to the properties file and then got the error message. Then I added an empty test.c to the jni folder under app/src/main/jni, as well as app/src/main/jni/jni, but the error is till there.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Error:Execution failed for task ':app:compileDebugNdk'.
  &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Richard Jiang\AppData\Local\Android\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 1</code></pre>
  </div>
  </div>
  </p>
  
  <p>I went to the android-ndk-r10e and there is a file called ndk-build.cmd, so I really don't know how to solve the issue.</p>