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

同时使用 shared_preferences >=2.0.0 时依赖有冲突 #8

Closed
mhszeto opened this issue Mar 11, 2021 · 5 comments
Closed

同时使用 shared_preferences >=2.0.0 时依赖有冲突 #8

mhszeto opened this issue Mar 11, 2021 · 5 comments

Comments

@mhszeto
Copy link

mhszeto commented Mar 11, 2021

同时使用 shared_preferences >=2.0.0 时依赖有冲突

@c1avie
Copy link
Collaborator

c1avie commented Mar 12, 2021

是用的flutter2.0吗

@mhszeto
Copy link
Author

mhszeto commented Mar 12, 2021 via email

@c1avie
Copy link
Collaborator

c1avie commented Mar 15, 2021

demo中实际并没有用到 shared_preferences,可以考虑pubspec.yaml文件中去掉。如果实在要用,可以先降低flutter的版本

@mhszeto
Copy link
Author

mhszeto commented Mar 15, 2021 via email

@c1avie
Copy link
Collaborator

c1avie commented Mar 22, 2021

sdk如果不引入shared_preferences的话是支持flutter 2.0的,引入shared_preferences后跟path_provider的版本冲突了。
预计会在4月初解决。如果要用shared_preferences的话,可以先降低shared_preferences的版本。

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

2 participants