0


Flutter运行报错程序起不来解决办法

Flutter assets will be downloaded from https:// storage.flutter-io.cn.Make sure you trust this source!Launching lib\main.dart on XXXXXX  in debug mode...

FAILURE:Build failed with an exception.*What went wrong:Execution failed for task ' :app: packageDebug'.>Sevaral variant outputs are configured to use the same file name "resources-debug.ap_", filters : SINGLE:SINGLE

*Try:Runwith--stacktrace option to get the stack trace.Runwith--info or --debug option to get more log output.Runwith--scan to get full insights.*Get more help at https://help.gradle.org

BUILD FAILED in32s
Exception:Gradle task assembleDebug failed with exit code 1Exited (sigterm)

在这里插入图片描述

解决办法:
运行 :flutter clean
在这里插入图片描述
OK!!!


本文转载自: https://blog.csdn.net/Session_W/article/details/127881809
版权归原作者 SouMte-W 所有, 如有侵权,请联系我们删除。

“Flutter运行报错程序起不来解决办法”的评论:

还没有评论