Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circular_slider requires SDK version >=2.12.0 <3.0.0, version solving failed. #87

Closed
sbois opened this issue Sep 16, 2022 · 2 comments
Closed

Comments

@sbois
Copy link

sbois commented Sep 16, 2022

Hi
when I add the dependance in the YAML file and make a "flutter pub get" I always have this message

The current Dart SDK version is 2.9.1.

Because circular_slider requires SDK version >=2.12.0 <3.0.0, version solving failed.
Running "flutter pub get" in circular_slider...
pub get failed (1; Because circular_slider requires SDK version >=2.12.0 <3.0.0, version solving failed.)

here is my YAML file :

name: circular_slider
description: A new Flutter project.


publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.0.0+1

environment:
  sdk: ">=2.12.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  sleek_circular_slider:
    path: ../
  cupertino_icons: ^0.1.3


dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true

 

Can anyone help me please ?

@sbois
Copy link
Author

sbois commented Sep 16, 2022

I updated Android Studio (Dolphin and Dart and Flutter), the problem is still here :/

@sbois
Copy link
Author

sbois commented Sep 17, 2022

It's ok, I uninstalled Flutter and Dart from Android Studio, then reinstalled them and I download and extract the last version of flutter, then replace the c:\flutter directory and everything is ok now

@sbois sbois closed this as completed Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant