skip to Main Content

Note: meta is pinned to version 1.10.0 by integration_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because every version of integration_test from sdk depends on meta 1.10.0 and every version of split_bills from path depends on meta 1.9.1, integration_test from sdk is incompatible with split_bills from path.
So, because consumer depends on both split_bills from path and integration_test from sdk, version solving failed.

How to fix above error?

2

Answers


  1. Your post is not very clear. I’m assuming you mean that you want to find the version of flutter used in your project? If so, you can go to your pubspec.yaml file, and you should see the version of flutter used in the first few lines. Mine says ‘sdk: ‘>=3.1.3 <4.0.0’. This version number should be listed right under ‘environment:’.

    I hope this answers your question.

    Login or Signup to reply.
  2. A simple way to solve this issue without delving deep is to remove the version number of the questioned package and flutter automatically selects the compatible version and adds it to the project.

    i.e.

    split_bills:
    integration_test:
    consumer:
    

    This should fix the issue

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search