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.

Required fields*

4
  • 3
    While this code may answer the question, providing additional context regarding how and/or why it solves the problem would improve the answer's long-term value. Commented Apr 5, 2018 at 5:35
  • 1
    Working fine, this is the way to go if the library is simple. But their is an issue here : You need to import all the library imported in your aar file to make it works. Import from the aar file are not propagated using this method. Commented Nov 7, 2018 at 18:10
  • 2
    Or, even simpler: implementation fileTree(include: ['*.?ar'], dir: 'libs') Commented Feb 20, 2020 at 21:56
  • @friederbluemle Rather than simpler I would say shorter, and at the same time unspecific, theoretically. Commented May 5, 2020 at 22:57