fvm icon indicating copy to clipboard operation
fvm copied to clipboard

How does versioning work for custom forks?

Open matthew-carroll opened this issue 5 months ago • 13 comments

I setup a custom fork following instructions: https://fvm.app/documentation/advanced/custom-version

However, the reported Flutter version is 0.0.0-unknown:

Screenshot 2024-08-29 at 11 28 46 PM

How should I resolve this?

When running fvm flutter pub get I get the following error:

Resolving dependencies... 
Note: leak_tracker_flutter_testing is pinned to version 3.0.5 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

The current Flutter SDK version is 0.0.0-unknown.

Because every version of flutter_test from sdk depends on leak_tracker_flutter_testing 3.0.5 which requires Flutter SDK version
  >=3.18.0-18.0.pre.54, flutter_test from sdk is forbidden.
So, because example depends on flutter_test from sdk, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try using the Flutter SDK version: 3.24.1. 

matthew-carroll avatar Aug 30 '24 06:08 matthew-carroll