我重新安装了Windows和AndroidStudio,现在我的项目收到此Build错误。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:signingConfigWriterDebug'.
> java.nio.file.AccessDeniedException: E:<theprojectpath>\build\app\intermediates\signing_config\debug\out\signing-config.json
* 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 1s
Finished with error: Gradle task assembleDebug failed with exit code 1
答案 0 :(得分:0)
好的,我已修复:
删除.android文件夹中的构建缓存和缓存文件夹。 通常位于此处C:\ Users \ username \ .android
删除flutter项目文件夹中的build文件夹。 (...)\ flutter_project_name \ build