Does Android Fused Library support including local AARs?


I am trying to use Android Fused Library Plugin to build and publish our library.

I am using a sample code at https://github.com/android/gradle-recipes/blob/agp-9.0/applyFusedLibraryPlugin/fusedLibrary/build.gradle.kts

In the sample code, we can include local JARs by adding an include statement:

include(files("libs/simple-jar-with-A_DoIExist-class.jar"))

I tried to include a local AAR

include(files("libs/another_lib.aar"))

But this do not work as expected.

My question is: Does Android Fused Library Plugin support including local AARs?

1
Feb 10 at 3:49 PM
User AvatarTrung
#android#android-gradle-plugin

Accepted Answer

It doesn't support including local AAR dependencies at the moment, I'm afraid

There's an issue in Google bug tracker with no visible activity since October 2024.

User AvatarSergei Glotov
Feb 10 at 4:37 PM
0