9.6 C
London
Monday, May 20, 2024

android – SSLHandshakeException throughout Gradle Construct for React Native App on Home windows


I’m encountering an SSLHandshakeException whereas making an attempt to construct and set up a React Native app utilizing Gradle on my Home windows machine. The error happens when Gradle makes an attempt to resolve dependencies. Listed here are the small print of the error:

`* What went flawed:
An issue occurred configuring root challenge ‘app_name’.

Couldn’t decide the dependencies of activity ‘:gradle-plugin:compileKotlin’.
javax.web.ssl.SSLHandshakeException: PKIX path constructing failed: solar.safety.supplier.certpath.SunCertPathBuilderException: unable to search out legitimate certification path to requested goal

Run with –stacktrace choice to get the stack hint.
Run with –info or –debug choice to get extra log output.
Run with –scan to get full insights.
Get extra assist at https://assist.gradle.org.

BUILD FAILED in 12s
error Failed to put in the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Construct failed with an exception. * What went flawed: An issue occurred configuring root challenge ‘app_name’. > Couldn’t decide the dependencies of activity ‘:gradle-plugin:compileKotlin’. > javax.web.ssl.SSLHandshakeException: PKIX path constructing failed: solar.safety.supplier.certpath.SunCertPathBuilderException: unable to search out legitimate certification path to requested goal * Attempt: > Run with –stacktrace choice to get the stack hint. > Run with –info or –debug choice to get extra log output. > Run with –scan to get full insights. > Get extra assist at https://assist.gradle.org. BUILD FAILED in 12s.`

I verified that my web connection is steady, Executed the construct with the –info flag to acquire detailed logs and ran gradlew cleanBuildCache to clear the Gradle cache however nothing appears to work. Kindly Assist.

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here