This message was deleted.
# declarative-gradle
s
This message was deleted.
🧵 1
p
Please for long messages, post a short headline and then copy the full log in the thread. And also do not cross post, answers get fragmented. Better post in one channel and share the link in the others.
💯 1
z
Got it.
stderr[ FAILURE: Build completed with 3 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task 'launchercheckReleaseDuplicateClasses'.
Could not resolve all files for configuration 'launcherreleaseRuntimeClasspath'.
> Could not resolve com.unity3d.mediationmediation sdk[1.0,2.0[. Required by: project :launcher > project :unityLibrary > Failed to list versions for com.unity3d.mediation:mediation-sdk. > Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/com/unity3d/mediation/mediation-sdk/maven-metadata.xml. > Could not HEAD 'https://repo.maven.apache.org/maven2/com/unity3d/mediation/mediation-sdk/maven-metadata.xml'. > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.2] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:mediation-sdk. > Unable to load Maven meta-data from https://maven.google.com/com/unity3d/mediation/mediation-sdk/maven-metadata.xml. > Could not GET 'https://maven.google.com/com/unity3d/mediation/mediation-sdk/maven-metadata.xml'. > Connect to maven.google.com:443 [maven.google.com/127.0.1.3] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:mediation-sdk. > Unable to load Maven meta-data from https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/com/unity3d/mediation/mediation-sdk/maven-metadata.xml. > Could not GET 'https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/com/unity3d/mediation/mediation-sdk/maven-metadata.xml'. > Connect to unity3ddist.jfrog.io:443 [unity3ddist.jfrog.io/127.0.1.4] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:mediation-sdk. > Unable to load Maven meta-data from https://jcenter.bintray.com/com/unity3d/mediation/mediation-sdk/maven-metadata.xml. > Could not GET 'https://jcenter.bintray.com/com/unity3d/mediation/mediation-sdk/maven-metadata.xml'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.1.5] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:mediation-sdk. > Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/com/unity3d/mediation/mediation-sdk/maven-metadata.xml. > Could not HEAD 'https://repo.maven.apache.org/maven2/com/unity3d/mediation/mediation-sdk/maven-metadata.xml'. > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.2] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:mediation-sdk. > Unable to load Maven meta-data from https://dl.google.com/dl/android/maven2/com/unity3d/mediation/mediation-sdk/maven-metadata.xml. > Could not GET 'https://dl.google.com/dl/android/maven2/com/unity3d/mediation/mediation-sdk/maven-metadata.xml'. > Connect to dl.google.com:443 [dl.google.com/127.0.1.6] failed: Connection refused: connect > Could not resolve com.unity3d.mediationunityads adapter[1.0,2.0[. Required by: project :launcher > project :unityLibrary > Failed to list versions for com.unity3d.mediation:unityads-adapter. > Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/com/unity3d/mediation/unityads-adapter/maven-metadata.xml. > Could not HEAD 'https://repo.maven.apache.org/maven2/com/unity3d/mediation/unityads-adapter/maven-metadata.xml'. > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.2] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:unityads-adapter. > Unable to load Maven meta-data from https://maven.google.com/com/unity3d/mediation/unityads-adapter/maven-metadata.xml. > Could not GET 'https://maven.google.com/com/unity3d/mediation/unityads-adapter/maven-metadata.xml'. > Connect to maven.google.com:443 [maven.google.com/127.0.1.3] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:unityads-adapter. > Unable to load Maven meta-data from https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/com/unity3d/mediation/unityads-adapter/maven-metadata.xml. > Could not GET 'https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/com/unity3d/mediation/unityads-adapter/maven-metadata.xml'. > Connect to unity3ddist.jfrog.io:443 [unity3ddist.jfrog.io/127.0.1.4] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:unityads-adapter. > Unable to load Maven meta-data from https://jcenter.bintray.com/com/unity3d/mediation/unityads-adapter/maven-metadata.xml. > Could not GET 'https://jcenter.bintray.com/com/unity3d/mediation/unityads-adapter/maven-metadata.xml'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.1.5] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:unityads-adapter. > Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/com/unity3d/mediation/unityads-adapter/maven-metadata.xml. > Could not HEAD 'https://repo.maven.apache.org/maven2/com/unity3d/mediation/unityads-adapter/maven-metadata.xml'. > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.2] failed: Connection refused: connect > Failed to list versions for com.unity3d.mediation:unityads-adapter. > Unable to load Maven meta-data from https://dl.google.com/dl/android/maven2/com/unity3d/mediation/unityads-adapter/maven-metadata.xml. > Could not GET 'https://dl.google.com/dl/android/maven2/com/unity3d/mediation/unityads-adapter/maven-metadata.xml'. > Connect to dl.google.com:443 [dl.google.com/127.0.1.6] failed: Connection refused: connect > Could not resolve androidx.arch.corecore runtime2.1.0. Required by: project :launcher > project :unityLibrary > com.android.billingclientbilling6.2.1 > androidx.activityactivity1.2.3 > androidx.lifecyclelifecycle runtime2.3.1 > Could not resolve androidx.arch.corecore runtime2.1.0. > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Connect to dl.google.com:443 [dl.google.com/127.0.1.6] failed: Connection refused: connect > Could not resolve androidx.arch.corecore runtime2.1.0. > Could not get resource 'https://repo.maven.apache.org/maven2/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Could not GET 'https://repo.maven.apache.org/maven2/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.2] failed: Connection refused: connect > Could not resolve androidx.arch.corecore runtime2.1.0. > Could not get resource 'https://maven.google.com/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Could not GET 'https://maven.google.com/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Connect to maven.google.com:443 [maven.google.com/127.0.1.3] failed: Connection refused: connect > Could not resolve androidx.arch.corecore runtime2.1.0. > Could not get resource 'https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Could not GET 'https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Connect to unity3ddist.jfrog.io:443 [unity3ddist.jfrog.io/127.0.1.4] failed: Connection refused: connect > Could not resolve androidx.arch.corecore runtime2.1.0. > Could not get resource 'https://jcenter.bintray.com/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Could not GET 'https://jcenter.bintray.com/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.1.5] failed: Connection refused: connect > Could not resolve androidx.arch.corecore runtime2.1.0. > Could not get resource 'https://repo.maven.apache.org/maven2/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Could not GET 'https://repo.maven.apache.org/maven2/androidx/arch/core/core-runtime/2.1.0/core-runtime-2.1.0.pom'. > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.2] failed: Connection refused: connect > Could not resolve androidx.lifecyclelifecycle common2.3.1. Required by: project :launcher > project :unityLibrary > com.android.billingclientbilling6.2.1 > androidx.activityactivity1.2.3 > androidx.lifecyclelifecycle runtime2.3.1 > Could not resolve androidx.lifecyclelifecycle common2.3.1. > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.pom'. > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.pom'. > Connect to dl.google.com:443 [dl.google.com/127.0.1.6] failed: Connection refused: connect > Could not resolve androidx.lifecyclelifecycle common2.3.1. > Could not get resource 'https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.pom'. > Could not GET 'https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.pom'. > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.2] failed: Connection refused: connect > Could not resolve androidx.lifecyclelifecycle common2.3.1. > Could not get resource 'https://maven.google.com/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.pom'. > Could not GET 'https://maven.google.com/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.pom'. > Connect to maven.google.com:443 [maven.google.com/127.0.1.3] failed: Connection refused: connect > Could not resolve androidx.lifecyclelifecycle common2.3.1. > Could not get resource 'https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.pom'. > Could not GET 'https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/androidx/lifecycle/lifecycle-co<message truncated>
p
The error is basically Gradle unable to solve dependencies. Are you connected to the Internet? Perhaps you are blocked by a company VPN or something