在Android Studio中导入facedetection的opencv样本时,出现错误openCVSamplefacedetection:compileArmDebugNdk

时间:2015-02-06 17:32:10

标签: android-studio android-ndk java-native-interface opencv4android

错误:任务执行失败':openCVSamplefacedetection:compileArmDebugNdk'。

  

com.android.ide.common.internal.LoggedErrorException:无法运行命令:       D:\ OpenCV-2.4.10-android-sdk \ android-ndk-r10d \ ndk-build.cmd NDK_PROJECT_PATH = null APP_BUILD_SCRIPT = E:\ android_project \ CastorYan \ AndroidStudioProjects \ face-detection \ openCVSamplefacedetection \ build \ intermediates \ ndk \ arm \ debug \ Android.mk APP_PLATFORM = android-14 NDK_OUT = E:\ android_project \ CastorYan \ AndroidStudioProjects \ face-detection \ openCVSamplefacedetection \ build \ intermediates \ ndk \ arm \ debug \ obj NDK_LIBS_OUT = E:\ android_project \ CastorYan \ AndroidStudioProjects \ face-detection \ openCVSamplefacedetection \ build \ intermediates \ ndk \ arm \ debug \ lib APP_ABI = armeabi   错误代码:       2   输出:       make.exe:***没有规则来制作目标E:\android_project\CastorYan\AndroidStudioProjects\face-detection\openCVSamplefacedetection\build\intermediates\ndk\arm\debug\obj/local/armeabi/objs/detection_based_tracker/E_\android_project\CastorYan\AndroidStudioProjects\face-detection\openCVSamplefacedetection\src\main\jni', needed by E:\ android_project \ CastorYan \ AndroidStudioProjects \ face-detection \ openCVSamplefacedetection \ build \ intermediates \ ndk \ arm \ debug \ obj / local / armeabi / objs / detection_based_tracker / E_ \ android_project \ CastorYan \ AndroidStudioProjects \脸部检测\ openCVSamplefacedetection \ SRC \主\ JNI \ DetectionBasedTracker_jni.o&#39 ;.停止。

0 个答案:

没有答案