【发布时间】:2021-08-22 03:05:24
【问题描述】:
下面的问题是什么?最近更新了flutter,然后就出现了这个错误。
FAILURE: Build failed with an exception.
* Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 9s
Exception: Gradle task assembleDebug failed with exit code 1
【问题讨论】:
-
我已经通过更改我的文件夹路径解决了这个问题,它在文件夹名称中包含“...添加、编辑、保存”。所以这可能是问题所在。我只是更改了文件夹名称并解决了问题。
标签: flutter flutter-debug flutter-exception