Generating android library(.aar) with Ionic/Cordova

Android doesn’t support loading AARs from other AARs. Instead, what I’ve found that works, is use compileOnly in your library to reference the other AARs, and then have the developer use implementation to reference those AARs in their app/build.gradle.

Hope that gives you a lead to pursue!

1 Like