Remove not needed resources from android library in apk
问题 I have a shared library that is used by multiple variance of the app. I want to be able to strip out unused library resources as per app configuration. I don't want to remove the resources permanently, so Lint does not help The resources are referenced by shared code, I just know that in certain variance, a sizeable chunk is not used The shared code which reference the resources are being used (just in certain usage variance, a sizeable chunk is not in play) so proguard also does not help I'm