Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AndroidStudio/NDK - finished with non-zero exit value2

Android Studio 1.1.0 NDK = r10d OpenCV4Android 2.4.10

Can't run OpenCV4android Sample#2/mixed processing.

Information:BUILD FAILED Error:Execution failed for task ':openCVTutorial2MixedProcessing:compileDebugNdk'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\MYDATA\android-ndk-r10d\ndk-build.cmd'' finished with non-zero exit value 2

I've added the NDK directory. I've tried the extra empty c file. New to all this so I don't really understand what is going on. Found other threads that question this "exit value 2" error with no real answer.