【问题标题】:Flutter Build Fail after reinstalling Windows重新安装 Windows 后 Flutter 构建失败
【发布时间】:2020-03-06 13:12:26
【问题描述】:

我重新安装了 Windows 和 AndroidStudio,现在我的项目出现此构建错误。

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

【问题讨论】:

    标签: java windows flutter dart build


    【解决方案1】:

    好的,我修好了:

    1. 删除 .android 文件夹中的 build-cache 和缓存文件夹。 通常位于此处 C:\Users\username\.android

    2. 删除你的flutter项目文件夹中的build文件夹。 (...)\flutter_project_name\build

    【讨论】:

      猜你喜欢
      • 2021-08-13
      • 1970-01-01
      • 2014-06-14
      • 1970-01-01
      • 1970-01-01
      • 2019-10-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多