dart:ui:1:错误:找不到:dart:ui。颤振/飞镖: [英] dart:ui:1: Error: Not found: dart:ui. flutter/dart:
本文介绍了dart:ui:1:错误:找不到:dart:ui。颤振/飞镖:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我开始调试会话(按F5键)时,收到以下消息:
When I start a debugging session (pressing F5) I receive the following messages:
dart:ui:1: Error: Not found: dart:ui.
Exited (sigterm)
没有迹象表明问题出在哪里。 flutter医生-v 的输出是:
There is no indication as to where the problem occurred. Output from flutter doctor -v is:
[√] 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
选择一个带有浮动图标的应用程序
< img src = https://i.stack.imgur.com/kAGBx.png alt =在此处输入图片描述>
When running the app, you will find 2 main.dart
Choose the one with the flutter icon beside it
这篇关于dart:ui:1:错误:找不到:dart:ui。颤振/飞镖:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文