0

I am using Android Studio latest version and built one Library project and exported as say A.aar(Obfuscated) with more than two submodules in it. When I integrate the A.aar file in my sample android application, I am able to access the classes defined in module A but I am not able to access the submodule classes and their methods. How can I access the submodule classes/methods in sample application.

Note: I have set the proguard rules in each modules and submodules.

  • The answer I've linked assumes, that all relevant entry points are being kept. There's not much else to tell about it, since this question is anything but reproducible, therefore completely theoretical. Better don't obfuscate the AAR at all, but provide consumer configuration rules, so that it's being obfuscated all at once, when building the application module (which is more or less the common procedure). – Martin Zeitler Jan 03 '22 at 05:07

0 Answers0