我是 Android 世界的新手,将在其中使用 OpenCV 库。我从 source-forge 下载了 Opencv4Android-SDK并尝试使用本教程使用包资源管理器将其导入 Eclipse 。一切顺利,但我遇到了这个错误:
Unable to resolve target 'android-9' OpenCV Library - 2.4.2 Unknown Android Target Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files Video.java /OpenCV Library - 2.4.2/src/org/opencv/video line 1 Java Problem
The project cannot be built until build path errors are resolved OpenCV Sample - 15-puzzle Unknown Java Problem
The container 'Android Dependencies' references non existing library 'C:\andcv\OpenCV-2.4.2-android-sdk\sdk\java\bin\opencv library - 2.4.2.jar' OpenCV Sample - 15-puzzle Build path Build Path Problem
Unable to resolve target 'android-11' OpenCV Sample - 15-puzzle Unknown Android Target Problem
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project OpenCV Library - 2.4.2 Unknown Java Problem
我正在使用最新的 Android SDK,其中包括基本的 Android SDK 组件和带有内置 ADT 的 Eclipse IDE 版本。
我该如何解决这个错误?谢谢。