我正在为学校管理应用程序做一个项目,它在Android和Windows上运行得很完美,但在我为该项目添加Firebase后,它就没有再构建Windows了
这是在vs代码终端上的错误
Launching lib\main.dart on Windows in debug mode...
main.dart:1
Exception: Build process failed.
Exited (sigterm)
我试图在另一个项目中构建Windows,它工作了,我还试图删除和下载同一项目的新Windows文件夹,它也没有工作,我运行Flutter医生,没有发现任何问题!
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.3, on Microsoft Windows [Version 10.0.19045.2604], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.5)
[√] Android Studio (version 4.2)
[√] VS Code (version 1.75.1)
[√] Connected device (3 available)
[√] HTTP Host Availability
• No issues found!
1条答案
按热度按时间ymdaylpp1#
在Windows中对我有用的是升级Flutter。从终端,输入:Flutter升级