Closed fgsantoyo closed 8 years ago
Are they in the local filesystem? Where are they placed? How do you include these aar files as dependencies?
Right now they are in my libs folder and included like the following.
repositories { //This allows third party (aar) libraries included in the "libs" folder to be picked up by the compiler flatDir { dirs 'libs' } }
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) //... other dependencies compile 'com.enterprise.android.common:common@aar' }
If it is included like this, it should probably work. I haven't tried myself this way although. Do you get any issues?
The correct way to embed local aar files is to import them as a separate module in the project. File -> New Module -> Import Jar/AAR file Closing the issue.
Hi Adwiv,
I have custom libraries packaged as aar that I'd like to include in my fat aar. Is this supported by this script?
Thanks,
Fernando