Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • could you elaborate on "you have to specify the dependencies also in your project" Commented Dec 11, 2016 at 6:26
  • 2
    Finally got here. It seems you have to publish it to somewhere to make the transitive work. Commented Feb 20, 2017 at 23:48
  • 1
    publish to mavenLocal. The transitive for AAR not working. Commented Feb 27, 2018 at 23:05
  • 1
    *aar file doesn't contain the nested (or transitive) dependencies* is that true for any local libs folder directory of the Android Library? Or is it for dependencies added via gradle? Commented Jan 1, 2019 at 8:35
  • 5
    @Abbas I'm looking for a proper solution for this, as I'd like to distribute a library in one file. So far the only solution I've found is creating a fat aar. However this can mess up other dependencies in the host app, so be careful if you decide to use it. Here's a link a for script that does this: github.com/adwiv/android-fat-aar Also an explanation why it's a bad idea: stackoverflow.com/questions/28605367/… Commented Jan 21, 2019 at 13:01