How To Package Multiple Aar's In My Release Aar
We ship an android sdk (aar) file to the customer. Our code internally uses two 3rd party aar's which we have in our repo and gradle references it at run time. My question is that
Solution 1:
I use module dependencies in the Android Studio project: right click on your project -> Open Module Settings or navigate to View -> Open Module Settings -> click on 'app' / module-name -> select 'Dependencies' tab. On the left bottom, you should find a '+' button to add library dependency/Jar dependency/module dependency. Once you click 'OK' and rebuild your project into an aar file, you will find all the dependencies included.
It automatically updates the gradle file too.
Post a Comment for "How To Package Multiple Aar's In My Release Aar"