Rahul Ray
12/05/2024, 9:31 PMFAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':kotlinNodeJsSetup'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
> Could not download node-22.0.0-darwin-arm64.tar.gz (org.nodejs:node:22.0.0)
> Could not get resource '<https://nodejs.org/dist/v22.0.0/node-v22.0.0-darwin-arm64.tar.gz>'.
> Could not GET '<https://nodejs.org/dist/v22.0.0/node-v22.0.0-darwin-arm64.tar.gz>'.
> Got SSL handshake exception during request. It might be caused by SSL misconfiguration
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Here are versions that I am using
agp = "8.5.2"
android-compileSdk = "34"
android-minSdk = "24"
android-targetSdk = "34"
androidx-activityCompose = "1.9.3"
androidx-appcompat = "1.7.0"
androidx-constraintlayout = "2.1.4"
androidx-core-ktx = "1.13.1"
androidx-espresso-core = "3.6.1"
androidx-lifecycle = "2.8.3"
androidx-material = "1.12.0"
androidx-test-junit = "1.2.1"
compose-multiplatform = "1.7.0"
junit = "4.13.2"
kotlin = "2.0.21"
kotlinx-coroutines = "1.9.0"
If anyone knows its solution, please let me knowTimo Drick
12/05/2024, 10:39 PM