无法从3.7.7升级到Flutter 3.7.12

eanckbw9  于 2023-05-19  发布在  Flutter
关注(0)|答案(2)|浏览(224)

我正在尝试将Flutter稳定通道从3.7.7升级到3.7.12
运行flutter doctor后的终端。

fnet34-f72-access:Project user$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.7, on macOS 12.6 21G115 darwin-x64, locale en-SG)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] IntelliJ IDEA Community Edition (version 2022.1.3)
[✓] VS Code (version 1.76.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

运行flutter upgrade后的终端。

fnet34-f72-access:NovadeLite mariaivoneiradjaja$ flutter upgrade
Upgrading Flutter to 3.10.0 from 3.7.7 in /Users/mariaivoneiradjaja/flutter...
Downloading Darwin x64 Dart SDK from Flutter engine d44b5a94c976fbb65815374f61ab5392a220b084...

运行flutter upgrade后,它将升级到3.10.0,而不是3.7.12。此命令在文档中没有任何参数。
升级Flutter的时候有办法指定版本吗?

afdcj2ne

afdcj2ne1#

如果你想安装多个版本的Flutter,你有两个很好的解决方案。传统的解决方案是fvm。这个街区的新来的孩子叫普罗。两者都可以在酒吧里找到。Puro是有趣的,因为你可以从没有flutter安装到任何发布版本的工作flutter安装直接,而不需要首先安装它的传统方式,它甚至为你更新你的路径。

3duebb1j

3duebb1j2#

根据Flutter官方文档,如果你想使用特定的Flutter版本,你可能需要直接从Flutter SDK archieve下载。

相关问题