【发布时间】:2015-05-03 04:17:30
【问题描述】:
不管我学了多少教程,每次我尝试制作一个包含 C 源文件的项目时,gradle 都会输出错误:
Error:Execution failed for task ':app:compileDebugNdk'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\svprdga\Downloads\android-ndk-r10d_x86\ndk-build.cmd' ' 以非零退出值 2 结束
例如,我下载了下面的教程,也抛出了同样的错误:
https://github.com/mpospelov/android-studio-ndk-hello-world
我看到了以下问题,但我不明白我应该做什么:
execution failed for task ':app:compileDebugNdk' failed to run this command ndk-build.cmd Can't build project with android-ndk and Android Studio
有什么帮助吗?
【问题讨论】:
标签: android android-studio android-ndk