Build process Flutter version confusion

Hi I am getting a build error:

The current Flutter SDK version is 3.24.3.
Because BendyStraw depends on flex_color_scheme >=8.1.0 which requires Flutter SDK version >=3.27.0, version solving failed.

In my *.yaml file I have:

    srclibs:
      - flutter@stable

Current Flutter Stable is 3.38.1 (and that’s what I have on my dev machine).

My (mis-)understanding was that flutter@stable would cause the latest stable SDK to be downloaded from the official Flutter github repo during build. But the build log shows a much older version.

How do I fix my build please, and if anybody can shed light on where my misunderstanding lies so I know for future builds, that would be great too thanks.

lets carry on in your actual issue: #20 - F-Droid can't build - mm-dev/bendy-straw - Codeberg.org

Your entire comment in the issue reads:

…as Too late. But he did not seem to be studying. does not have the correct version of Flutter per this fail fdroid build (#12106305245) · Jobs · F-Droid / checkupdates-bot-fdroiddata · GitLab

I found it to be cryptic — it’s not even a sentence. Perhaps to you it’s clear and obvious. If I already understood the issue, it would not be an issue. The .metadata file you refer to says:

This file should be version controlled and should not be manually edited.

I have a slightly unusual dev environment so asked a simple polite general question on the forum about how to specify the SDK version, and if anybody could see where my misunderstanding lies . In response you go to the issue and start ranting at me in capitals.

I am not a dog, don’t talk to me in that way.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.