Create an AAR with multiple AARs/JARs

I haven’t seen a definitive response that enables me to create an AAR that includes 1 or more AARs or JARs. Yes, I think because this topic is not limited to AAR or JAR, but how Maven manage dependency. while I was able to generate one AAR file that I can use in my … Read more

Too many classes in –main-dex-list, main dex capacity exceeded

Let’s first understand the problem: On pre-Lollipop devices, only main dex is being loaded by the framework. To support multi-dex applications you have to explicitly patch application class loader with all the secondary dex files (this is why your Application class have to extend MultiDexApplication class or call MultiDex#install). This means that your application’s main … Read more