Flutter ne peut pas démarrer le programme d'erreur lors de son exécution, alors comment le résoudre

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:
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 32s
Exception: Gradle task assembleDebug failed with exit code 1Exited (sigterm)

Insérer la description de l'image ici

Solution :
exécuter : flutter clean
Insérer la description de l'image ici
OK !!!

Je suppose que tu aimes

Origine blog.csdn.net/Session_W/article/details/127881809
conseillé
Classement