How to disable compile some of the modules?

Hi,

I’m trying to find a way to reduce the size of apk,
large size takes libUE4.so ~20MB in compressed form,

So is it possible to disable some modules when i packaging and do not compile them ? I do not use 166 files…
I tried to use BuildConfiguration.xml but it has no effect,
Give me the direction of searches! Files that I need to look.

Thx.

I think you need to edit build scripts (C# files in source directory) and eddit list that are there like “DynamicallyLoadedModuleNames”? I’m not sure how this exacly works

Yes, thank you, I’m looking at these build scripts, but yet did not understand where exactly to look. It came just disable some plug-ins by setting the value of the variable
“EnabledByDefault” : from true to false (in similar files …\Engine\Plugins\2D\Paper2D\Paper2D.uplugin). Now compiles 130 instead of 160. I want to disable more, landscape, AI, online system… but how do not know yet =\

Hey Syntopia,

We have since improved upon our packaging options and stability from 4.7 to our current 4.9.2 engine version. Have you been able to find a solution to your issue in the most recent release?

If you still need help, please let us know.

Thanks,