【问题标题】:Flutter Error : Build failed with an exception颤振错误:构建失败并出现异常
【发布时间】:2021-01-18 11:19:20
【问题描述】:

起初,当我安装并运行 Android Studio 时,该应用程序运行良好,但两天后由于某种原因出现了这种情况。请帮我解决这个问题。谢谢

 Launching lib\main.dart on GM1910 in debug mode...
    Running Gradle task 'assembleDebug'...
    Not resetting hidden file - C:\Users\zahin\AndroidStudioProjects\project1\build\app\intermediates\flutter\debug\flutter_assets\assets\ss\Thumbs.db

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:signingConfigWriterDebug'.
> java.nio.file.AccessDeniedException: C:\Users\zahin\AndroidStudioProjects\project1\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 4s
Exception: Gradle task assembleDebug failed with exit code 1

【问题讨论】:

    标签: android firebase android-studio flutter flutter-layout


    【解决方案1】:

    使用flutter clean 或删除项目根目录上的构建文件夹,然后重试。

    【讨论】:

      猜你喜欢
      • 2020-05-09
      • 2021-03-04
      • 2022-08-22
      • 1970-01-01
      • 2022-07-07
      • 2020-09-17
      • 2021-01-12
      • 2021-03-10
      • 2020-03-25
      相关资源
      最近更新 更多