我无法添加对Google字体和Lottie之类的颤音的依赖
因为Day13取决于Google_fonts> = 2.3.1,它需要Flutter SDK版本> = 2.10.0-0,因此求解版本求解失败。 pub失败了(1;因为Day13取决于Google_fonts> = 2.3.1,它需要Flutter SDK版本> = 2.10.0-0,求解版本求解失败。) 退出代码1
Because day13 depends on google_fonts >=2.3.1 which requires Flutter SDK version >=2.10.0-0, version solving failed.
pub get failed (1; Because day13 depends on google_fonts >=2.3.1 which requires Flutter SDK version >=2.10.0-0, version solving failed.)
exit code 1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在您的pubspec.yaml中降级您的Google_fonts软件包。
尝试将其更改为2.3.0或以下。在这里检查版本将有效:
https://pub.dev/packages/google_fonts/versions
Downgrade the version of you google_fonts package in your pubspec.yaml.
Try to change it to a 2.3.0 or below. Check versions here that will work:
https://pub.dev/packages/google_fonts/versions