Android build issues: Builds locally but not on codemagic. Strange build command used for universal apk #1697
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduce
It fails with the error
Expected resultsI would expect when selecting to build with both apk & appbundle it would use the flutter build command for both and both succeed. Actual resultsUses android build-universal-apk command with appbundle as an argument and fails. Build id (optional)646b6e828e0743273d5e4762 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @emmett-deen, the command The issue here is different, let's try to look at your app first. The error is suggesting |
Beta Was this translation helpful? Give feedback.
@dtrdic it seems to come from using this package: https://pub.dev/packages/file_preview
Removing it from the pubspec.yaml allows the build to work. I know you don't have any time to dig through individual packages, but if you see this and think of how a singular package may cause this error let me know! Thanks