How to import .AAR module on Android Studio 4.2

From Android Studio package manager select project:

enter image description here

Then make a new directory in project level named libs

enter image description here

enter image description here

Now right click the libs and select Reveal in finder and then paste here your .aar file.

enter image description here
enter image description here

Now in Build.gradle(Module) add the following implementation.

implementation files('../libs/testaarfile.aar') 

and snyc your project.

Leave a Comment