Ask Your Question

Revision history [back]

Is there any OpenCV build options to reduce the resulting apk file?

Hello everyone,

I'm implementing an android app based on native opencv modules. Despite I use a very little number of opencv native modules, the resulting apk size is very big due to libopencv_java.so file deriving from building process. So, is there any way to reduce this apk size? Is there any build option that can be used to exclude the unused modules?

Thank you.

click to hide/show revision 2
retagged

updated 2015-04-09 03:58:57 -0600

berak gravatar image

Is there any OpenCV build options to reduce the resulting apk file?

Hello everyone,

I'm implementing an android app based on native opencv modules. Despite I use a very little number of opencv native modules, the resulting apk size is very big due to libopencv_java.so file deriving from building process. So, is there any way to reduce this apk size? Is there any build option that can be used to exclude the unused modules?

Thank you.