Target debug_android_application failed: PathAccessException: Cannot copy file to 'D:\Workspace\mobile_app_ver1\build\app\intermediates\flutter\debug\flutter_assets\assets/i18n/en.json', path = 'D:\Workspace\mobile_app_ver1\assets\i18n\en.json' (OS Error: The process cannot access the file because it is being used by another process.
, errno = 32)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\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 28s
Running Gradle task 'assembleDebug'... 29.5s
Error: Gradle task assembleDebug failed with exit code 1
Я попробовал несколько возможных решений, найденных в поиске Google и ChatGPT, но ни одно из них мне не помогло. Что я могу попробовать дальше?
Я пытаюсь запустить свое приложение Flutter с помощью команды flutter run, но оно не удалось запустить, выдавая следующие исключения: [code]Target debug_android_application failed: PathAccessException: Cannot copy file to 'D:\Workspace\mobile_app_ver1\build\app\intermediates\flutter\debug\flutter_assets\assets/i18n/en.json', path = 'D:\Workspace\mobile_app_ver1\assets\i18n\en.json' (OS Error: The process cannot access the file because it is being used by another process. , errno = 32)
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command 'C:\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 28s Running Gradle task 'assembleDebug'... 29.5s Error: Gradle task assembleDebug failed with exit code 1 [/code] Я попробовал несколько возможных решений, найденных в поиске Google и ChatGPT, но ни одно из них мне не помогло. Что я могу попробовать дальше?