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

Incompatible intl version #12

Closed
arthurgustin opened this issue Aug 15, 2018 · 8 comments
Closed

Incompatible intl version #12

arthurgustin opened this issue Aug 15, 2018 · 8 comments
Labels
bug Something isn't working

Comments

@arthurgustin
Copy link
Contributor

Hi, sorry to bother you, but I get this message when trying to build my apk:

ERR : Because every version of card_settings depends on intl ^0.15.7 and every version of flutter_localizations from sdk depends on intl 0.15.6, card_settings is incompatible with flutter_localizations from sdk.

Do you mind downgrading the intl version or is there another solution ?

@codegrue
Copy link
Owner

Will ^0.15.6 work or do I have to explicitly say 0.15.6?

@codegrue codegrue added the bug Something isn't working label Aug 15, 2018
@arthurgustin
Copy link
Contributor Author

@codegrue I think ^0.15.6 is fine

@codegrue
Copy link
Owner

codegrue commented Aug 15, 2018

took me a while to find this. is this the one?

https://github.com/flutter/flutter/tree/master/packages/flutter_localizations

no dartpub package makes it's stability questionable. I would think they should support the latest intl but they have over 3000 issues. Did you add it to your project locally?

Edit: Never mind.. just realized it's an official flutter package. It's been a long day. Let me play with it.

@codegrue
Copy link
Owner

Are you using the master branch? Look at this code it's using intl 0.15.7:

https://github.com/flutter/flutter/blob/master/packages/flutter_localizations/pubspec.yaml

@arthurgustin
Copy link
Contributor Author

Yes I saw I tried to upgrade (even with force option) but it doesn't change anything, can you build an apk ?

@codegrue
Copy link
Owner

Yes I am building one tonight I will downgrade it

@codegrue
Copy link
Owner

this is what i'm getting now: :)

Because every version of card_settings from path depends on intl 0.15.6 and every version of flutter_localizations from sdk depends on intl 0.15.7, card_settings from path is incompatible with flutter_localizations from sdk.

@arthurgustin
Copy link
Contributor Author

@codegrue Can you publish on dartlang ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants