我正在尝试在 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,还是我的环境中存在一些固有的配置问题。谢谢。