I am trying to test my integration for Facebook Audience Network bidding with Google Admob by using the mediation testing. I followed the steps provided by the Google Admob to setup the Mediation Test Suite, but I ended up getting the following error when Android studio trying to build the app:
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
I am really not sure what I am missing. I already add the implementation for the Mediation Suite properly in my manifest file, and also I added my App ID from Google Admob to manifest file too, and set up the testing device. But still get this error. Can anyone help me with this error? Thank you for your help!