错误:您的项目包含一个本机生成系统。考虑使用 CMake或ndk-build集成。有关更多信息,请访问: https://d.android.com/r/studio-ui/add-native-code.html或者, 您可以使用实验性插件: https://developer.android.com/r/tools/experimental-pl ..
构建命令失败。执行过程时出错 D:\ Android \ ndk-bundle \ ndk-build.cmd带参数 {NDK_PROJECT_PATH =空 APP_BUILD_SCRIPT = D:\ myproject \ openCVSamplefacedetection \ build \ intermediates \ ndk \ debug \ Android.mk APP_ABI = arm64-v8a NDK_ALL_ABIS = arm64-v8a NDK_DEBUG = 1 APP_PLATFORM = android-21 NDK_OUT = D:/ myproject / openCVSamplefacedetection / build / intermediates / ndkBuild / debug / obj NDK_LIBS_OUT = D:\ myproject \ openCVSamplefacedetection \ build \ intermediates \ ndkBuild \ debug \ lib D:/myproject/openCVSamplefacedetection/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/libdetection_based_tracker.so} Android NDK:警告:中的不支持的源文件扩展名 D:\ myproject \ openCVSamplefacedetection \ build \ intermediates \ ndk \ debug \ Android.mk 对于模块detection_based_tracker Android NDK: D:\ myproject \ openCVSamplefacedetection \ src \ main \ jni \ Android.mk D:\ myproject \ openCVSamplefacedetection \ src \ main \ jni \ Application.mk [arm64-v8a]编译++:detection_based_tracker <= DetectionBasedTracker_jni.cpp D:\ myproject \ openCVSamplefacedetection \ src \ main \ jni \ DetectionBasedTracker_jni.cpp:2:10: 致命错误:找不到“ opencv2 / core.hpp”文件 包括^ ~~~~~~~~~~~~~~~~~产生1个错误。使: [D:/ myproject / openCVSamplefacedetection / build / intermediates / ndkBuild / debug / obj / local / arm64-v8a / objs-debug / detection_based_tracker / D__back \ ProDVR \ openCVSamplefacedetection \ src \ main \ jni \ DetectBasedTracker_jni.o] 错误1
我该如何解决?