Skip to content

flutter_test from sdk is incompatible with json_serializable >=0.5.3. #241

Closed
@wooldridgetm

Description

@wooldridgetm

After updating my pubspec.yaml with my dependencies (denoted below), the flutter tool is giving me this error when I try flutter packages get

Because every version of flutter_test from sdk depends on test 0.12.37 which depends on analyzer >=0.26.4 <0.32.0, every version of flutter_test from sdk requires analyzer >=0.26.4 <0.32.0.
And because json_serializable >=0.5.3 depends on analyzer ^0.32.0,
flutter_test from sdk is incompatible with json_serializable >=0.5.3.
So, because jam2018 depends on both json_serializable ^0.5.4 and flutter_test any from sdk, version solving failed.
pub get failed (1)

screen shot 2018-06-19 at 2 29 35 pm

is there any way around this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions