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

Problem installing 1.2.2 #206

Closed
ElihuJ opened this issue Sep 8, 2021 · 5 comments
Closed

Problem installing 1.2.2 #206

ElihuJ opened this issue Sep 8, 2021 · 5 comments

Comments

@ElihuJ
Copy link

ElihuJ commented Sep 8, 2021

Cannot install package, I get the following error when running flutter pub get

[app] flutter pub get
Running "flutter pub get" in app...                        
Because flutter_native_splash >=1.2.2 depends on xml ^5.2.0 which depends on meta ^1.7.0, flutter_native_splash >=1.2.2 requires meta ^1.7.0.


And because every version of flutter from sdk depends on meta 1.3.0, flutter_native_splash >=1.2.2 is incompatible with flutter from sdk.
So, because automate depends on both flutter any from sdk and flutter_native_splash ^1.2.2, version solving failed.
pub get failed (1; So, because automate depends on both flutter any from sdk and flutter_native_splash ^1.2.2, version solving failed.)
exit code 1

It's a fresh project so there are not many dependencies:

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2
  provider: ^6.0.0

dev_dependencies:
  flutter_lints: ^1.0.4
  flutter_launcher_icons: "^0.9.2"
  flutter_flavor: ^3.0.3
  flutter_native_splash: ^1.2.2

I can install 1.2.1 with no problem

@jonbhanson
Copy link
Owner

Thanks. I will push an update to address this.

@vkammerer
Copy link
Contributor

This issue was fixed in 1.2.3 and reintroduced in 1.2.4. Is this intentional?

@jonbhanson
Copy link
Owner

Flutter stable has meta 1.7.0, which is the same as this package, so I don't think it should be an issue. Is it causing you a problem?

@vkammerer
Copy link
Contributor

I am still running Flutter 2.2.3 so it is indeed an issue for me at the moment.. Does it mean that your package requires Flutter 2.5?

@jonbhanson
Copy link
Owner

Yes, it requires Flutter 2.5.

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

3 participants