From my understanding, apklib
contains code + resource shared with Maven
.
aar
files are distributed by Gradle
.
The aar
differ from apklib in one major way : classes are compiled and included in a classes.jar in the root of the aar. Whereas apklib
cannot contain compiled class files or jars.
1 Can somebody explain the main differences between apklib
vs aar
files ?
2 Can Maven
use aar
? Can Gradle
use apklib
?
3 Which format is "better" ?