yuanzuo opened a new issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075
# Bug Report
upgraded my project cordova-android 9.0 from android 8.
Upgraded CLI to Cordova 10.
upgraded node.js to v12.18.4
upgraded to java 8 to patch 261
## Problem
android build failed the error: unable to find valid certification path to
requested target
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50.
Required by:
project :
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50.
> Could not get resource
'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.50/kotlin-gradle-plugin-1.3.50.pom'.
> Could not GET
'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.50/kotlin-gradle-plugin-1.3.50.pom'.
> PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72.
### What is expected to happen?
Build Should be successful.
### What does actually happen?
build failed the error: unable to find valid certification path to requested
target
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
see above.
I got this error in command line and in Android Studio (v3.1.4)
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
>cordova build android
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
Windows 10. Cordova v10. Gradle 6.5. Cordova-android v9.0
### Version information
Windows 10. Cordova v10. Gradle 6.5. Cordova-android v9.0
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x ] I searched for existing GitHub issues
- [x ] I updated all Cordova tooling to most recent version
- [x ] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]