Ask Your Question
0

Android how to remove unnecessary modules?

asked 2020-02-11 02:18:00 -0500

NoMaD gravatar image

OpenCV modules has cross dependencies to each other. I need only improc and core modules in a Android project but there are a lot of other files related with other modules. I do not want to add them in my repository. Is it possible to remove all unnecessary modules and related files? And do you know that how R8 shrinker and code optimizer works on that does it remove all unused parts of opencv?

edit retag flag offensive close merge delete

Comments

1

You must disbale module and compile sdk yourself

LBerger gravatar imageLBerger ( 2020-02-11 03:06:29 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-02-11 08:28:07 -0500

Akhil Patel gravatar image

Remove module from settings.gradle file or manually delete module which you do not add them in your repository.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-02-11 02:18:00 -0500

Seen: 28 times

Last updated: Feb 11