Ask Your Question

Revision history [back]

Yes, it is possible. Add OPENCV_LIB_TYPE:=STATIC before including OpenCV.mk in your Android.mk. This string enables static linkage with OpenCV. Linker removes all unused classes and functions automatically. You cannot build the singe shared library for all architectures. If you set target architecture to all in Application.mk you've got one shared library per architecture.