简体   繁体   English

如何解决 Execution failed for task ':app:checkDebugAarMetadata'

[英]how to solve Execution failed for task ':app:checkDebugAarMetadata'

I am trying to open existing android project in android studio and it gradle cannot build the app without the error我正在尝试在 android 工作室中打开现有的 android 项目,它 gradle 无法在没有错误的情况下构建应用程序

Execution failed for task ':app:checkDebugAarMetadata'.任务“:app:checkDebugAarMetadata”执行失败。

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.无法解析配置“:app:debugRuntimeClasspath”的所有文件。 Could not find com.google.firebase:firebase-analytics:.找不到 com.google.firebase:firebase-analytics:。 Required by: project:app要求:项目:应用程序

  • Try:尝试:

Run with --stacktrace option to get the stack trace.使用 --stacktrace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output. Run with --scan to get full insights.使用 --info 或 --debug 选项运行以获取更多日志 output。使用 --scan 运行以获取完整的见解。

For our Flutter Project: Navigate to app-level build.gradle file.对于我们的 Flutter 项目:导航到应用程序级 build.gradle 文件。 Change compileSdkVersion from 30 to 31 and Change targetSdkVersion from 30 to 31将 compileSdkVersion 从 30 更改为 31 并将 targetSdkVersion 从 30 更改为 31

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 任务“:app:checkDebugAarMetadata”执行失败。 转型失败 - Execution failed for task ':app:checkDebugAarMetadata'. Failed to Transform 任务 ':app:checkDebugAarMetadata' 执行失败 (Android Studio) - Execution failed for task ':app:checkDebugAarMetadata' (Android Studio) 任务“:app:checkDebugAarMetadata”执行失败。 安卓 - Execution failed for task ':app:checkDebugAarMetadata'. Android Flutter 错误:任务 ':app:checkDebugAarMetadata' 执行失败 - Flutter Error: Execution failed for task ':app:checkDebugAarMetadata' Flutter 构建应用程序失败任务“:app:checkDebugAarMetadata”的执行失败 - Flutter build app failed Execution failed for task ':app:checkDebugAarMetadata' 任务 ':app:checkDebugAarMetadata' 执行失败 - Android 生命周期扩展 - Execution failed for task ':app:checkDebugAarMetadata' - Android Lifecycle Extentions Flutter 项目错误,“任务 ':app:checkDebugAarMetadata' 执行失败。” - Flutter project error, "Execution failed for task ':app:checkDebugAarMetadata'. " 如何解决错误:app:checkDebugAarMetadata - How to solve error: app:checkDebugAarMetadata 如何解决任务执行失败':app:processDebugManifest' - How to solve Execution failed for task ':app:processDebugManifest' 如何解决 Execution failed for task ':app:compileFlutterBuildDebug' - how to solve Execution failed for task ':app:compileFlutterBuildDebug'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM