face-landmark-android
face-landmark-android copied to clipboard
Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\lenovo\AppData\Local\Android\Sdk\ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2
无法成功运行,报的上面的错误,按照网上的方法修改了几次不起作用,帮忙看看是什么原因造成的
I had that issue too and it is solved by deleting all ndk config lines in the gradle file and then adding that to defaultConfig
externalNativeBuild {
ndkBuild {
targets "app"
cppFlags "-std=c++11 -fexceptions"
arguments "APP_STL=gnustl_shared"
abiFilters "armeabi-v7a"
}
}
As Android Studio, 2.3.2 has integrated externalNativeBuild in android gradle plugin, so you don't need the tricks with custom gradle task.
Source here
I'm also facing this issue