In Android systems or development enviroments, what are the differences between AAR, JAR, DEX, and APK files? What is the purpose of each one?
AFAIK, JAR are just like a collection of .class files (like in Java).
AAR are JAR files + resources. But what's its usage case? To be used to distribute development libraries for Android?
APK seems to be similar to packages like .deb or .rpm. Is it the only way to install applications on Android?
What about DEX files? Compiled applications... but what's the difference with a JAR or AAR file?
Moreveor, when distributing .so (i.e. native code) files for Android, what's the best way to do it?