英文:
open CV project not build
问题
构建命令失败。
执行进程 C:\Users\admin\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe 时出错,参数为 {-C D:\Raju\company project\bobomusu\bobomusu\android\app.cxx\cmake\debug\armeabi-v7a my-native-lib}
ninja: 进入目录 `D:\Raju\company project\bobomusu\bobomusu\android\app.cxx\cmake\debug\armeabi-v7a'
ninja: 错误: 'Libraries/libopennurbs_public.a',在 'D:/Raju/company project/bobomusu/bobomusu/android/app/build/intermediates/cmake/debug/obj/armeabi-v7a/libmy-native-lib.so' 所需,但没有已知的规则来生成它。
英文:
Build command failed.
Error while executing process C:\Users\admin\AppData\Local\Android\Sdk\cmake.10.2.4988404\bin\ninja.exe with arguments {-C D:\Raju\company project\bobomusu\bobomusu\android\app\.cxx\cmake\debug\armeabi-v7a my-native-lib}
ninja: Entering directory `D:\Raju\company project\bobomusu\bobomusu\android\app\.cxx\cmake\debug\armeabi-v7a'
ninja: error: 'Libraries/libopennurbs_public.a', needed by 'D:/Raju/company project/bobomusu/bobomusu/android/app/build/intermediates/cmake/debug/obj/armeabi-v7a/libmy-native-lib.so', missing and no known rule to make it
答案1
得分: 1
将项目的API级别更改为21,在build.gradle
中,然后删除项目中的build目录,然后重新构建项目。
英文:
Change your project api level to 21 in build.gradle
then delete build directory from project and rebuild again the project
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论