flutter-aws-appsync-sample icon indicating copy to clipboard operation
flutter-aws-appsync-sample copied to clipboard

appsync depends on build_runner >=0.1.1 <=0.9.1 which requires SDK version >=1.9.1 <2.0.0

Open karan-appgambit opened this issue 6 years ago • 7 comments

The current Dart SDK version is 2.6.0-dev.1.0.flutter-d6c6d12ebf.

Because appsync depends on build_runner >=0.1.1 <=0.9.1 which requires SDK version >=1.9.1 <2.0.0-∞, version solving failed.

karan-appgambit avatar Nov 06 '19 11:11 karan-appgambit

Same issue here

athagar avatar Aug 18 '20 19:08 athagar

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

athagar avatar Aug 18 '20 20:08 athagar

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

hi athagar, i am stuck with the issue, can. you please elaborate more on how you managed to solve?

rakeshshahu avatar Aug 31 '20 23:08 rakeshshahu

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

hi athagar, i am stuck with the issue, can. you please elaborate more on how you managed to solve?

I started a totally new Flutter project. I deleted the basic main.dart and copied in the 5 files from the example app: constants.dart, main.dart, message.dart, message.g.dart and message_service.dart. The error went away in the new project.

athagar avatar Aug 31 '20 23:08 athagar

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

hi athagar, i am stuck with the issue, can. you please elaborate more on how you managed to solve?

I started a totally new Flutter project. I deleted the basic main.dart and copied in the 5 files from the example app: constants.dart, main.dart, message.dart, message.g.dart and message_service.dart. The error went away in the new project.

Weird, did same, but still stuck with same issue

rakeshshahu avatar Aug 31 '20 23:08 rakeshshahu

Facing following error:

The current Dart SDK version is 2.9.0-21.10.beta.

Because flutter_app depends on build_runner >=1.10.2 which requires SDK version >=2.10.0-0.0 <3.0.0, version solving failed. pub upgrade failed (1; Because flutter_app depends on build_runner >=1.10.2 which requires SDK version >=2.10.0-0.0 <3.0.0, version solving failed.)

Subburaj55 avatar Oct 21 '20 08:10 Subburaj55

+1

MrFarhan avatar Nov 06 '22 14:11 MrFarhan