Is there a recommended way to add a dependency on an .aar file for Android in the shared component? I tried putting it under libs, but I get this error:
Copy code
> Direct local .aar file dependencies are not supported when building an AAR. The
resulting AAR would be broken because the classes and Android resources from any
local .aar file dependencies would not be packaged in the resulting AAR. Previous
versions of the Android Gradle Plugin produce broken AARs in this case too
(despite not throwing this error). The following direct local .aar file
dependencies of the :common project caused this error:
m
mkrussel
05/19/2022, 8:21 PM
Create an .aar module. Unfortunately the template has been removed from Android Studio.
But you create a module where the build script declares that library as its artifact.