tzutalin / build-opencv-for-android

An interactive script to download and build OpenCV and OpenCV contrib for Android
74 stars 40 forks source link

Building OpenCV Android Error #3

Open zhengjiajian opened 7 years ago

zhengjiajian commented 7 years ago

[ 88%] Building OpenCV Android library project Buildfile: build.xml does not exist! Build failed modules/java/CMakeFiles/opencv_java.dir/build.make:16251: recipe for target 'bin/classes.jar' failed make[2]: [bin/classes.jar] Error 1 CMakeFiles/Makefile2:6583: recipe for target 'modules/java/CMakeFiles/opencv_java.dir/all' failed make[1]: [modules/java/CMakeFiles/opencv_java.dir/all] Error 2 Makefile:146: recipe for target 'all' failed make: *** [all] Error 2 end building armeabi-v7a with NEON version

end of the error , how to do ?

zhengjiajian commented 7 years ago

it isbuild.xml does not exist!

dbishai commented 7 years ago

I had the same problem. Make sure the "android" tool is found in your CMAKE config and that the samples are built.