Bri*_*ugh 5 android admob android-studio mobile-ad-mediation
我正在尝试使用中介测试来测试 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
Run Code Online (Sandbox Code Playgroud)
我真的不确定我错过了什么。我已经在清单文件中正确添加了中介套件的实现,并且还将 Google Admob 中的应用程序 ID 添加到清单文件中,并设置了测试设备。但仍然出现此错误。谁能帮我解决这个错误?感谢您的帮助!
| 归档时间: |
|
| 查看次数: |
1351 次 |
| 最近记录: |