【问题标题】:FAILURE: Execution failed for task ':app:processDebugResources'FAILURE:任务“:app:processDebugResources”执行失败
【发布时间】:2021-04-28 17:26:24
【问题描述】:

我在运行应用程序(flutter run)时收到此错误

event sent after app closed: {id: 0, progressId: null, message: Running "flutter pub get" in de_p_city_guide...}
event sent after app closed: {id: 0, progressId: null, finished: true}
Launching lib\main.dart on Nokia 5 3 in debug mode...
Running Gradle task 'assembleDebug'...
Plugin project :firebase_core_web not found. Please update settings.gradle.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Path 'D:\Lets_Go\de_p_city_guide\build\screen\intermediates\compiled_local_resources\debug\out' is not a readable directory.

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

我试过但没用的解决方案:

  • 颤抖干净

  • 文件 > 使缓存无效/重新启动...

  • 将 (org.gradle.jvmargs=-Xmx4608m) 添加到 gradle.properties

  • 添加到 android/app/build.gradle:

    机器人{ aaptOptions.cruncherEnabled = 假 aaptOptions.useNewCruncher = false }

  • 我从 .../User/.gradle/cashes 中删除了我的现金数据

  • 我删除了 .gradle 并重建了项目

任何帮助请在这里

【问题讨论】:

    标签: android flutter


    【解决方案1】:

    错误

    Plugin project :firebase_core_web not found. Please update settings.gradle.
    

    解决方案here

    【讨论】:

    猜你喜欢
    • 2016-05-05
    • 2015-08-27
    • 2023-04-08
    • 1970-01-01
    • 2016-08-04
    • 2019-08-16
    • 2017-07-23
    • 2018-07-21
    相关资源
    最近更新 更多