-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproducerun build on same commit that worked previously log output of attempting to build using the same commit that worked last time
The funny thing is that in my build.gradle.kts I don't use minSdkVersion or flutter.minSdkVersion as a value at all. here is my defaulConfig data - again this is the same commit so it built successfully previously:
Expected resultsshould build successfully just like last successful build of the same commit Actual resultsfails to build Build id (optional)https://codemagic.io/app/67ea5f110b62a8331bf6cbac/build/68a5ed20a3913e5c5a7de3fe for failing build and https://codemagic.io/app/67ea5f110b62a8331bf6cbac/build/6893508b6dd9aa3559a52bf4 for working build |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @noga-dev , I compared the configurations of your failed and successful builds, and I noticed that you were using different Flutter versions. The successful build was running on In your workflow editor configuration, you selected My suggestion is to select a specific Flutter version in the workflow editor configuration. |
Beta Was this translation helpful? Give feedback.
-
You're right, I hadn't noticed. @dtrdic Might be helpful to make it so the stable label shows the current version at the time of build. Closing. |
Beta Was this translation helpful? Give feedback.
Hello @noga-dev , I compared the configurations of your failed and successful builds, and I noticed that you were using different Flutter versions.
The successful build was running on
Flutter 3.32.8
, while the failed build was running on3.35.1.
In your workflow editor configuration, you selected
Flutter stable
, which means the build will always use the latest stable version. But, that may not always be compatible with your project and could lead to issues like this.My suggestion is to select a specific Flutter version in the workflow editor configuration.
Let me know how it goes.