gpt4 book ai didi

Flutter pub get version 解决失败

转载 作者:行者123 更新时间:2023-12-05 08:46:24 25 4
gpt4 key购买 nike

我遇到了 flutter pub get 的问题,尝试更新 dart sdk,重启电脑以将 Dart sdk 位置添加回环境变量,删除 .git 文件夹。

Running "flutter pub get" in calculator...
The current Dart SDK version is 2.13.4.

Because calculator depends on webview_flutter >=2.0.14 which requires SDK version >=2.14.0 <3.0.0, version solving failed.pub get failed (1; Because calculator depends on webview_flutter >=2.0.14 which requires SDK version >=2.14.0 <3.0.0, version solving failed.)exit code 1

flutter 医生:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [version 10.0.19043.1288], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] VS Code (version 1.61.2)
[√] Connected device (3 available)

Dart 版本:

Dart SDK version: 2.14.4 (stable) (Wed Oct 13 11:11:32 2021 +0200) on "windows_x64"

最佳答案

将 pubspec.yaml 中的 webview_flutter 版本更改为webview_flutter:任何

关于Flutter pub get version 解决失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69652726/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com