Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to use OpenCV4Android SDK

I'm new to Android world and going to use OpenCV library in it. I downloaded Opencv4Android-SDK from source-forge and tried to import it in eclipse using package explorer using this tutorial. Every thing went OK but I encountered this error :

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

Im using latest Android SDK that includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT.
How can I fix this error? thanks.

click to hide/show revision 2
No.2 Revision

Unable to use OpenCV4Android SDK

I'm new to Android world and going to use OpenCV library in it. I downloaded Opencv4Android-SDK from source-forge and tried to import it in eclipse using package explorer using this tutorial. Every thing went OK but I encountered this error :

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

Im using latest Android SDK that includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT.
How can I fix this error? thanks.

click to hide/show revision 3
No.3 Revision

Unable to use Errors when import OpenCV4Android SDKSDK to Eclipse

I'm new to Android world and going to use OpenCV library in it. I downloaded Opencv4Android-SDK from source-forge and tried to import it in eclipse using package explorer using this tutorial. Every thing went OK but I encountered this error :

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

Im using latest Android SDK that includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT.
How can I fix this error? thanks.