Adding Gradle Dependency To Library Aar Package
I am making a library project for a vendor and it needs Android Volley as a dependency. I have used this Create aar file in Android Studio to create the .aar file and to include th
Solution 1:
Far as I know, you must add "@aar" for the .aar libraries. Also the jar file isn't required, it downloads that by itself. Try this:
compile'com.mcxiaoke.volley:library:1.0.19@aar'
Solution 2:
One alternative solution is to place the dependent libraries as static jar file(s) in the "libs" folder of your project, instead of using gradle dependency. When generating aar file, the jar files under libs folder will be included in the aar.
Post a Comment for "Adding Gradle Dependency To Library Aar Package"