Reduce Apk size

asked 2017-04-13 00:09:16 -0600

Hi, i am new in this field so please tell me how i can reduce apk size when i using opencv 3.2 in my android app. All i need from this library is create circular camera use CameraBridgeViewBase class and Mat object.

edit retag flag offensive close merge delete


Probably you will have to rebuild the apk to contain only your necessary modules/functionality. Disable the modules you do not need through the CMAKE process. In the end you only want to include the .so or .a files of the modules you actually need. Some other suggestions are

Good luck!

StevenPuttemans gravatar imageStevenPuttemans ( 2017-04-14 06:30:04 -0600 )edit