As explained by +Xavier Ducrichet in this comment: aar packages locally doesn't work very well, and it seems like that's by design. But what if you want to decouple the library, keep it separate so that you can use it in other projects or share it with the community? The Gradle build system will package it as an android archive package (.aar) and you can add that as a dependency to your projects. Unfortunately, since the new build system is quite fresh (version 0.4.2 at the moment), the documentation is rather limited, so not everything is clear and simple.įor example, if you have a solution with an android library and an android app (that depends on the library), your build will work just fine. The new build system comes with a number of great features like multi project builds, android archive packages (.aar) for android libraries and so on. Since Gradle became the new build system for Android there were a lot of questions popping up all over the net about how to use it. ![]() aar Android library packages in gradle builds
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |