Android Question Conditionally include a library?

CaptKronos

Active Member
Licensed User
I have a project with multiple configurations and the use of conditional symbols give me everything I need except in one area. Some of the configurations require different libraries to other configurations. And some of those libraries add several megabytes to the size of the apk even when they are not used by the particular configuration.

So, is it possible to have the inclusion of a library tied to a configuration? Or, alternatively, have the compiler only include a library if the compiler detects that the library is required?
 

Creideiki

Active Member
Licensed User
Longtime User
Is it planned to make this possible? I have the same problem; to create more projects would solve this problem, but create others...
 
Upvote 0
Top