title: Gradle: Execution failed for task ':*application-name-here*:compileDebugNdk', where can I see the adequate error messages?
body: <p>I am getting this when I am trying to compile and launch:</p>
  
  <pre><code>Error:Gradle: Execution failed for task ':*application-name-here*:compileDebugNdk'. &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/path/to/android-ndk/ndk-build'' finished with non-zero exit value 2
  </code></pre>
  
  <p>OK cool, it is about compilation error, but where can I see compiler error messages?</p>
  
  <p>I set ndk up with:</p>
  
  <pre><code>defaultConfig {
      ...
  
      ndk {
          moduleName "blahblah"
      }
  }
  </code></pre>
  
  <p>(I've made my code broken intentionally (it is in hello world state now), the question is about how to get error messages if code is broken during development, not about fixing those errors)</p>
  
  <p>IntelliJ IDEA 14.1, Gradle 2.2.1, Android-NDK r10d</p>