Solved - Nativescript 4.2 - Android build error: unable to find valid certification path to requested target


#1

In the tns build android on Mac OS Sierra, I’ve this error:

Gradle build…
Downloading https://services.gradle.org/distributions/gradle-4.4-all.zip

Exception in thread “main” javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

How solve?


#2

Solved. The Antivirus blocked connection.