I run the file /platforms/android/build_sdk.py but get the following error:
[1173/1190] Building OpenCV Android library project
FAILED: bin/classes.jar bin/classes.jar.dephelper
cd /Users/hailuongquang/3rd/opencv/build/lean_android/o4a && /usr/local/bin/ant -q -noinput -k debug -Djava.target=1.6 -Djava.source=1.6 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E touch /Users/hailuongquang/3rd/opencv/build/lean_android/o4a/bin/classes.jar.dephelper
Buildfile: build.xml does not exist!
Build failed
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "opencv/platforms/android/build_sdk.py", line 305, in <module>
builder.build_library(abi, do_install)
File "opencv/platforms/android/build_sdk.py", line 150, in build_library
execute(["ninja"])
File "opencv/platforms/android/build_sdk.py", line 20, in execute
raise Fail("Child returned: %s" % retcode)
__main__.Fail: Child returned: 1
Could any help me with this?