GitHub user breautek added a comment to the discussion: Android build failing
before launch
>
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
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
This suggest that gradle cannot make a secure https connection.
Reasons why that might be (in the order of likliness:
1. I think Java might include its own certificates as well, so out-dated JDK
could also be a problem. Latest android environments requires JDK 17, so you
should double check that you have the latest patch of JDK 17 installed.
2. Your OS is out of date and doesn't have the latest intermediate certificates
3. VPN is manipulating the connection and is preventing a proper handshake
4. HTTP proxy is manipulating the connection and is preventing a proper
handshake
This isn't your issue at hand but will be an issue later
> Build-Tools 36-rc5
is currently not supported. cordova-android@13 will expect the latest version
of build tools 34. cordova-android@14 will expect the latest version of build
tools 35.
GitHub link:
https://github.com/apache/cordova/discussions/527#discussioncomment-12315149
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]