Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to run "build_sdk.py" for Android SDK

I have cloned OpenCV (git clone git://code.opencv.org/opencv.git). Following the instructions on http://code.opencv.org/projects/opencv/wiki/Building_OpenCV4Android_from_trunk I built the libraries and modules. Now how can I run "build_sdk.py" in "opencv3/platforms/android/build_sdk.py" to create the SDK? Runnning "python build_sdk.py" requires the following arguments:

usage: build_sdk.py [-h] [--ndk_path NDK_PATH] [--sdk_path SDK_PATH] [--sign_with SIGN_WITH] [--build_doc] [--no_ccache] [--extra_pack EXTRA_PACK] work_dir opencv_dir

Are the any examples on how to use this script?