I am trying to use smack jars (smack-core, smack-im etc) as dependency (which contain resource files )while creating aar file, though able to create aar file but don’t see the non java files(resource files) like smack-config.xml, version etc inside aar. So, when running the apk using this aar, getting exceptions for those missing files. It is working when using android gradle version 2.3.2 (Here i can see all non java files gets copied in classes.jar inside aar) while started seeing this issue when using gradle 3.2.1.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Why will the resources (e.g images) in the jar file be removed when publish android library as AAR to maven repository in Android Gradle Plugin 3.0 | 1 | 651 | March 12, 2018 | |
Gradle Dependency : Upgrade from jar to aar doesnot work | 1 | 517 | August 18, 2020 | |
Gradle report generation | 0 | 447 | December 5, 2016 | |
Unable to pack "<lib_modules>/resource/config.json" inside aar | 0 | 662 | September 20, 2017 | |
[Android] Local jars not packaged into .aar | 0 | 1073 | September 23, 2017 |