[Solved] Exception: Gradle task assembleDebug failed with exit code 1

2023/01/31 14:51

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Launching libmain.dart on AOSP on IA Emulator in debug mode…
Running Gradle task ‘assembleDebug’…
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ‘:app:compressDebugAssets’.
> java.io.IOException: Unable to delete directory
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
– C:UsersEddyStudioProjectsvisual-editor-developchinese_slangbuildappintermediatescompressed_assetsdebugoutassetsflutter_assetsassetslauncher_icon

* 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 13s
Exception: Gradle task assembleDebug failed with exit code 1

Leave a Reply

Back to top