gpt4 book ai didi

Flutter SDK错误: Error: Getter not found: 'isLink'

转载 作者:行者123 更新时间:2023-12-02 04:22:47 26 4
gpt4 key购买 nike

在尝试编译我的项目后,我在 SDK 文件中收到以下错误。我重新下载并重建了整个工具,但我仍然明白。

           Compiler message:                                            
[ +1 ms] ../../development/flutter/packages/flutter/lib/src/semantics/semantics.dart:3627:45: Error: Getter not found: 'isLink'.
[ ] bool get isLink => _hasFlag(SemanticsFlag.isLink);
[ ] ^^^^^^
[ ] ../../development/flutter/packages/flutter/lib/src/semantics/semantics.dart:3629:28: Error: Getter not found: 'isLink'.
[ ] _setFlag(SemanticsFlag.isLink, value);
[ ] ^^^^^^
[ +96 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
[ ] Exception: Errors during snapshot creation: null
build failed.

SDK 中似乎有问题。这怎么可能?

我是这样跑的:

flutter --local-engine-src-path ../engine/src --local-engine=host_debug_unopt run

最佳答案

flutter upgrade --force 帮我完成了工作

关于Flutter SDK错误: Error: Getter not found: 'isLink' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58311832/

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