
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” finished with non-zero exit value 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
有帮助吗?
解决方法 也许这个答案会有所帮助: https://stackoverflow.com/a/28810873 “尝试将空的.c文件添加到您的jni目录(如empty.c)”.它适用于我的情况 – AndroID Studio 1.1.0与androID-ndk-r10d-windows-x86_64 总结以上是内存溢出为你收集整理的尝试使用NDK源代码编译Android Studio项目时,任务’:app:compileDebugNdk’执行失败全部内容,希望文章能够帮你解决尝试使用NDK源代码编译Android Studio项目时,任务’:app:compileDebugNdk’执行失败所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)