I am facing issue with setting up my flutter app into project idx getting and git related error while upgrading the flutter versoion
flutter pub get --no-example
Resolving dependencies...
The current Dart SDK version is 3.1.2.
Because carconnect requires SDK version >=3.2.3 <4.0.0, version solving failed.
after running flutter upgrade i got following error
ProcessException: Process exited abnormally:
error: cannot open '.git/FETCH_HEAD': Read-only file system
Command: git fetch --tags
i also tried deleting the .git file from the project but still getting the same
tried
flutter upgrade --force
but nothing changed
I couldn't find to work the command
flutter upgrade, but I can change flutter SDK version with nix setting.open
'.idx/dev.nix'file.edit channel to "unstable"
channel = "unstable";edit packages name from
pkgs.fluttertopkgs.flutter316Click right bottom button -
Rebuild EnvironmentNow it's SDK 3.16.7 version. I don't know how to choose exact 3.16.3 SDK version.
There's few other versions such as flutter319, flutter313, etc.
You can check some other versions with this link.