http://blog.csdn.net/asmcvc/article/details/24457677
<code class="hljs livecodeserver has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">What went wrong: Execution failed <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">for</span> task <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">':library:compileReleaseNdk'</span>. > com.android.ide.common.<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">process</span>.ProcessException: org.gradle.<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">process</span>.internal.ExecException: Process <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">'command '</span>E:\android-ndk-r10e\ndk-build.cmd<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">''</span> finished <span class="hljs-operator" style="box-sizing: border-box;">with</span> non-<span class="hljs-constant" style="box-sizing: border-box;">zero</span> exit <span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">value</span> <span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">1</span></code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li></ul><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li></ul>
在ndk编译的时候出翔了,调用ndk_build.com 失败,看看你的ndk里面有没有这个ndk_build.cmd.
解决方法:下个最新的ndk就好了。