-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi,
We have a lib module to add a local .aar file as a dependency, the build.gradle looks like this:
configurations.maybeCreate('default')
artifacts.add('default', file('your_aar_name.aar'))
When i ran the analysis, It threw an error my libs not supported, seems because it does not match any variant.
I tried to change the approach by including the .aar directly on the app module, and depends it using this way:
implementation fileTree(dir: 'libs', include: ['*.aar']).
Unfortunately I got another error:
task: bundleGeneralDebugAar
> 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.
Any workaround for it?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels