失败:任务 ':app:processDebugResources' 执行失败

时间:2021-01-24 20:45:09

标签: android flutter

我在运行应用程序时收到此错误(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 = false aaptOptions.useNewCruncher = false }

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

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

任何帮助请在这里

1 个答案:

答案 0 :(得分:0)

错误

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

解决方案here