mysterious out.aar artifacts #2352
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceAll CodeMagic builds of a new App/Workflow (copied and edited from another similar app/workflow) are producing about 15 "out.aar" files that are listed as downloadable artifacts. All of our apps are completely Flutter-based, not just using Flutter for a particular module. Do you know what these "out.aar" files are, where in the Android build process are they being created, and/or why are they being saved? Expected resultsWe expect the CM build to only produce the following artifacts:
Actual resultsIn addition to the above files, one workflow produces 15+ different "out.aar" artifacts. Build id (optional)65b804d6ca74d6eba4ec8f7a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @carlleeswanson, I cannot reproduce the same. Did you check the contents of the |
Beta Was this translation helpful? Give feedback.
Hi @carlleeswanson,
AAR (Android Archive) binaries are beneficial when integrating Flutter modules into existing Android applications. Although, if you are not using Flutter modules, it is possible that some plugins used in a fully Flutter-based app may unintentionally generate AAR artifacts. This can occur when plugins require compilation into AAR files as part of their functionality, due to the inclusion of native Android code or resources.
As these are binary files, they are automatically exported once the build is successful.