任务 ':app:checkDebugAarMetadata' (Android Studio)

问题描述

我正在尝试使用中介测试来测试我的 Facebook Audience Network 出价与 Google Admob 的集成。我按照 Google Admob 提供的步骤设置中介测试套件,但当 Android Studio 尝试构建应用程序时,我最终收到以下错误

Execution Failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.google.android:flexBox:1.1.1.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/android/flexBox/1.1.1/flexBox-1.1.1.pom
       - https://repo.maven.apache.org/maven2/com/google/android/flexBox/1.1.1/flexBox-1.1.1.pom
     required by:
         project :app > com.google.android.ads:mediation-test-suite:2.0.0

Possible solution:
 - Declare repository providing the artifact,see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

我真的不确定我错过了什么。我已经在清单文件中正确添加了中介套件的实现,并且我也将来自 Google Admob 的 App ID 添加到清单文件中,并设置了测试设备。但仍然得到这个错误。谁能帮我解决这个错误?感谢您的帮助!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)