gpt4 book ai didi

android - 适用于Android的OpenCV 2.4.6显示错误

转载 作者:行者123 更新时间:2023-12-02 17:52:23 25 4
gpt4 key购买 nike

我正在尝试在Android上运行HelloCV,并且一直在关注Android上的OpenCV文档。不幸的是,当我使用OpenCV 2.4.6时,偶然发现了这个错误。

在清理所有项目时,出现以下错误:

Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'OpenCV Library - @OPENCV_VERSION@'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - 15 puzzle'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - color-blob-detection'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - face-detection'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - image-manipulations'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - native-activity'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Tutorial 1 - Camera Preview'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Tutorial 2 - Mixed Processing'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Tutorial 3 - Camera Control'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV_JavaAPI_Tests'.
java.lang.NullPointerException

在构建工作空间时,我遇到了这些错误;
Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'OpenCV Library - @OPENCV_VERSION@'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - 15 puzzle'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - color-blob-detection'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - face-detection'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - image-manipulations'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Sample - native-activity'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Tutorial 1 - Camera Preview'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Tutorial 2 - Mixed Processing'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV Tutorial 3 - Camera Control'.
java.lang.NullPointerException
Errors running builder 'Android Resource Manager' on project 'OpenCV_JavaAPI_Tests'.
java.lang.NullPointerException

我应该尝试使用其他版本的OpenCV,还是我的环境中存在一些固有的配置问题。谢谢。

最佳答案

我认为您没有密切关注本教程。专注于android和opencv部分。 tutorials

关于android - 适用于Android的OpenCV 2.4.6显示错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17450979/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com