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

Cannot resolve dependencies #72

Open
kazimayaan opened this issue Aug 27, 2023 · 9 comments
Open

Cannot resolve dependencies #72

kazimayaan opened this issue Aug 27, 2023 · 9 comments

Comments

@kazimayaan
Copy link

The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.

The current Dart SDK (3.1.0) only supports null safety.

@Testyayo
Copy link

Testyayo commented Sep 6, 2023

Has it been resolved with you? I'm also encountering same issue

@wassimdbk
Copy link

same problem here

@Testyayo
Copy link

Testyayo commented Sep 22, 2023 via email

@PratikBali
Copy link

PratikBali commented Sep 25, 2023

Yes I resolved it.
change from sdk: ">=2.1.0 <3.0.0" to sdk: ">=2.12.0 <3.0.0"
and
change from cupertino_icons: ^0.1.2 to cupertino_icons: ^1.0.1
in your pubspec.yaml file

@marceloverass
Copy link

@PratikBali

Thanks man, this worked.

@MdKabirBilal
Copy link

change to-
sdk: '>=3.1.2 <4.0.0'
cupertino_icons: ^1.0.2

@Pei-Jie8888
Copy link

>=2.12.0 <3.0.0"

@MdKabirBilal

Thanks, this worked! 2023/10/29

@SyedShagufta
Copy link

change from sdk: ">=2.1.0 <3.0.0" to sdk: ">=2.12.0 <3.0.0"
change from cupertino_icons: ^0.1.2 to cupertino_icons: ^1.0.6
in your pubspec.yaml file

This worked for me
Screenshot 2023-11-10 220132

@fk-753
Copy link

fk-753 commented Nov 5, 2024

After trying this , the .dart_tools are appearing red.
what is the issue ?

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

9 participants