Tutorial by Examples

In a module (library or application) where you need the aar file you have to add in your build.gradle the repository: repositories { flatDir { dirs 'libs' } } and add the dependency: dependencies { compile(name:'nameOfYourAARFileWithoutExtension', ext:'aar') } Pay a...
The aar file doesn't contain the transitive dependencies and doesn't have a pom file which describes the dependencies used by the library. It means that, if you are importing a aar file using a flatDir repo you have to specify the dependencies also in your project. You should use a maven repositor...

Page 1 of 1