Error
[ +63 ms] FAILURE: Build failed with an exception.
[ +2 ms] * What went wrong:
[ +1 ms] Execution failed for task ':google_mobile_ads:compileDebugJavaWithJavac'.
[ +1 ms] > Could not resolve all files for configuration ':google_mobile_ads:debugCompileClasspath'.
[ +1 ms] > Failed to transform kotlinx-coroutines-core-jvm-1.7.1.jar (org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1) to match attributes
{artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api,
org.jetbrains.kotlin.platform.type=jvm}.
[ +2 ms] > Could not find kotlinx-coroutines-core-jvm-1.7.1.jar (org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1).
[ +1 ms] Searched in the following locations:
[ ] https://maven.aliyun.com/repository/jcenter/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.7.1/kotlinx-coroutines-core-jvm-1.7.1.jar
[ +1 ms] * Try:
[ +1 ms] > Run with --debug option to get more log output.
[ ] > Run with --scan to get full insights.
[ ] * Exception is:
[ ] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':google_mobile_ads:compileDebugJavaWithJavac'.
[ ] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
[ +5 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
[ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
[ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
[ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
Solution
Change your repositories source or try again.