Attention! This forum will be made read-only by Dec-20. Please migrate to Most of existing active users should've received invitation by e-mail.
Ask Your Question

How to run "" for Android SDK

asked 2015-10-21 11:11:25 -0500

alexiosk gravatar image

I have cloned OpenCV (git clone git:// Following the instructions on I built the libraries and modules. Now how can I run "" in "opencv3/platforms/android/" to create the SDK? Runnning "python" requires the following arguments:

usage: [-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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-22 05:01:33 -0500

mshabunin gravatar image

updated 2017-07-24 06:31:16 -0500

You can take a look at the buildbot logs: choose the latest build of master_pack-android and take a look at the build_sdk step logs. Generally it should look like this:

python ../opencv/platforms/android/ <dir-to-store-result> ../opencv

Don't forget to provide paths to Android SDK and NDK via environment (example for *nix):

export ANDROID_SDK=...
export ANDROID_NDK=...

or using script parameters --ndk_path, --sdk_path

edit flag offensive delete link more


broken link ;(

berak gravatar imageberak ( 2015-10-22 05:36:49 -0500 )edit

thanks for pointing, I've fixed the link

mshabunin gravatar imagemshabunin ( 2015-10-22 06:52:53 -0500 )edit

^ link is now broken, again.

g3org3 gravatar imageg3org3 ( 2017-07-14 14:35:46 -0500 )edit
Login/Signup to Answer

Question Tools



Asked: 2015-10-21 11:11:25 -0500

Seen: 2,162 times

Last updated: Jul 24 '17