安装工具链¶
首先,您需要在系统上安装 Flutter SDK 和 Rust 工具链。
完成安装后,请使用以下命令验证系统的就绪状态。请确保您已安装 Flutter 建议的所有子组件。如果输出中没有问题,您就可以继续下一步了!
CLI¶
rustc --version
flutter doctor
Warning
If you’re working on Linux, it is recommended to install Flutter manually. Do not install Flutter from snap.
Flutter from snap comes with its own binary linker called ld, which is fundamentally incompatible with Rust. Instead, follow the manual installation steps per the Flutter docs.
Typically, the Flutter SDK package found in Debian-based Linux distributions’ app store (under the name “Flutter”) is a snap package.
每个 Rinf 版本与下列工具链版本及更新版本兼容。
Rinf Version |
Flutter/Dart Version |
Rust Version |
|---|---|---|
8.9 |
3.24/3.5 |
1.88 |
8.8 |
N/A |
N/A |
8.7 |
N/A |
N/A |
8.6 |
N/A |
N/A |
8.5 |
N/A |
N/A |
8.4 |
N/A |
N/A |
8.3 |
N/A |
N/A |
8.2 |
N/A |
N/A |
8.1 |
N/A |
N/A |
8.0 |
N/A |
1.85 |