Flutter_svg: The current Dart SDK version is 2.1.2-dev.0.0.flutter-0a7dcf17eb. Because test_app depends on flutter_svg >=0.13.0 which requires SDK version >=2.2.0 <3.0.0, version solving failed.

Created on 6 May 2019  路  3Comments  路  Source: dnfield/flutter_svg

I already have the dart 2.2 according to this post https://www.reddit.com/r/FlutterDev/comments/av23cg/google_simultaneously_releases_flutter_sdk_12_and/ehc721z?utm_source=share&utm_medium=web2x

So the plugin look at the line in pubspec.yaml
```
environment:sdk: ">=2.1.0 <3.0.0"

Most helpful comment

how to resolve :

flutter channel master
flutter upgrade

All 3 comments

how to resolve :

flutter channel master
flutter upgrade

most problem due to dart鈥榮 version,so you only update dart sdk , by run this cmd

flutter channel master

flutter --version

enter this on your terminal it will fix all the reversion problem that sdk has to meet :
flutter upgrade --force

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kentcb picture kentcb  路  4Comments

bbedward picture bbedward  路  6Comments

coupestartup picture coupestartup  路  6Comments

amorenew picture amorenew  路  6Comments

Eddydpyl picture Eddydpyl  路  6Comments