I'm trying to build a library and dynamically load it in another app in Android Studio using gradle.
I understand how to create jars and turn them to dex files for loading. But when I build a library in Android Studio with Gradle - I don't get a jar - I get an aar file - which I can't seem to turn to or load as a dex.
How can I turn the aar to a dex file?