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

加载工程后一大堆编译报错 #112

Closed
stellar-deng opened this issue Mar 1, 2023 · 1 comment
Closed

加载工程后一大堆编译报错 #112

stellar-deng opened this issue Mar 1, 2023 · 1 comment

Comments

@stellar-deng
Copy link

环境版本信息

 flutter --version
Flutter 3.8.0-18.0.pre.5 • channel master • https://github.com/flutter/flutter.git
Framework • revision f032a4d648 (26 hours ago) • 2023-02-28 05:29:29 -0500
Engine • revision c6b5322404
Tools • Dart 3.0.0 (build 3.0.0-277.0.dev) • DevTools 2.22.1

错误信息如下:

Resolving dependencies...
Because flutter_unit depends on flutter_localizations from sdk which depends on intl 0.18.0, intl 0.18.0 is required.
So, because flutter_unit depends on intl ^0.17.0, version solving failed.
exit code 1
SLVR:                                                   derived: not flutter_localizations 0.0.0 from sdk
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on characters 1.3.0
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on clock 1.1.1
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on collection 1.17.1
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on flutter from sdk
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on intl 0.18.0
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on js 0.6.7
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on material_color_utilities 0.2.0
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on meta 1.9.0
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on path 1.8.3
SLVR:                                                   fact: every version of flutter_localizations from sdk depends on vector_math 2.1.4
SLVR:                                                   conflict: every version of flutter_localizations from sdk depends on intl 0.18.0
SLVR:                                                   ! flutter_localizations from sdk is satisfied by flutter_localizations from sdk
SLVR:                                                   ! which is caused by "flutter_unit depends on flutter_localizations from sdk"
SLVR:                                                   ! thus: intl 0.18.0 is required
SLVR:                                                   ! not intl 0.18.0 is satisfied by intl ^0.17.0
SLVR:                                                   ! which is caused by "flutter_unit depends on intl ^0.17.0"
SLVR:                                                   ! thus: version solving failed
@toly1994328
Copy link
Owner

版本问题,请使用最新稳定版 SDK

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