I\'ve been reading some articles about the new adoption of Gradle as the standard build system for Android apps. Well, coming from standard Java development I usually depend
AAR files are more similar to Jars than to Dlls for the following reason:
Dlls can be shared across applications where asAARs and jars are packaged in with your app.
AARs vs Jars:
The main difference between a
Jarand aAARis thatAARs include resources such aslayouts, drawablesetc. This makes it a lot easier to create self-contained visual components. For example if you have multiple apps that use the same login screen, withJars you could share classes but not the layout, styles, etc., you still had to duplicate them. WithAARs everything is bundled in one neat package.
In conclusion, AARs are a big step in the right direction.
Note:
Similar attempts were made with apk-libs but they are now obsolete as AARs are much better.