0

1: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:dataBindingMergeDependencyArtifactsProdDebug'.

Could not resolve all files for configuration ':app:prodDebugCompileClasspath'. Could not resolve androidx.work:work-runtime-ktx:2.8.0-alpha01. Required by: project :app > Could not resolve androidx.work:work-runtime-ktx:2.8.0-alpha01. > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/work/work-runtime-ktx/2.8.0-alpha01/work-runtime-ktx-2.8.0-alpha01.pom'. > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/work/work-runtime-ktx/2.8.0-alpha01/work-runtime-ktx-2.8.0-alpha01.pom'. > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.0.2/userguide/build_environment.html#gradle_system_properties > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not resolve androidx.work:work-runtime-ktx:2.8.0-alpha01. > Could not get resource 'https://jitpack.io/androidx/work/work-runtime-ktx/2.8.0-alpha01/work-runtime-ktx-2.8.0-alpha01.pom'. > Could not GET 'https://jitpack.io/androidx/work/work-runtime-ktx/2.8.0-alpha01/work-runtime-ktx-2.8.0-alpha01.pom'. > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.0.2/userguide/build_environment.html#gradle_system_properties > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not resolve androidx.work:work-runtime-ktx:2.8.0-alpha01. > Could not get resource 'https://maven.google.com/androidx/work/work-runtime-ktx/2.8.0-alpha01/work-runtime-ktx-2.8.0-alpha01.pom'. > Could not GET 'https://maven.google.com/androidx/work/work-runtime-ktx/2.8.0-alpha01/work-runtime-ktx-2.8.0-alpha01.pom'. > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.0.2/userguide/build_environment.html#gradle_system_properties > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • 1
    Does this answer your question? ["PKIX path building failed" and "unable to find valid certification path to requested target"](https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ) – plplmax Feb 03 '22 at 19:43

0 Answers0