gpt4 book ai didi

dart:ui:1:错误:未找到:dart:ui。 flutter/Dart :

转载 作者:IT老高 更新时间:2023-10-28 12:34:48 31 4
gpt4 key购买 nike

当我开始调试 session (按 F5)时,我收到以下消息:

dart:ui:1: Error: Not found: dart:ui.
Exited (sigterm)

没有迹象表明问题发生在哪里。 flutter doctor -v 的输出是:

[√] Flutter (Channel beta, v0.8.2, on Microsoft Windows [Version 6.1.7601], locale en-US)
• Flutter version 0.8.2 at C:\Downloads\flutter\flutter_windows_v0.5.1-beta\flutter
• Framework revision 5ab9e70727 (2 weeks ago), 2018-09-07 12:33:05 -0700
• Engine revision 58a1894a1c
• Dart version 2.1.0-dev.3.1.flutter-760a9690c2

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\gggustafson\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.

[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[√] VS Code, 64-bit edition (version 1.25.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 2.18.0

[√] Connected devices (1 available)
• SM G925V • 06157df60c7a8e20 • android-arm64 • Android 7.0 (API 24)

• No issues found!

有什么想法吗?

最佳答案

运行应用时,你会发现2 main.dart选择旁边有 flutter 图标的那个 enter image description here

关于dart:ui:1:错误:未找到:dart:ui。 flutter/Dart :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52483773/

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