SupriyaLakamsani opened a new issue #1122:
URL: https://github.com/apache/cordova-android/issues/1122
When I try to build cordova apk it is failing with below error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> Could not resolve all artifacts for configuration ':CordovaLib:classpath'.
> Could not resolve com.github.dcendents:android-maven-gradle-plugin:2.1.
Required by:
project :CordovaLib
> Could not resolve
com.github.dcendents:android-maven-gradle-plugin:2.1.
> Could not get resource
'https://jcenter.bintray.com/com/github/dcendents/android-maven-gradle-plugin/2.1/android-maven-gradle-plugin-2.1.pom'.
> Could not GET
'https://repo.jfrog.org/artifactory/libs-release-bintray/com/github/dcendents/android-maven-gradle-plugin/2.1/android-maven-gradle-plugin-2.1.pom?referrer'.
> sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 12s
Command failed with exit code 1:
C:\My_Files\MobileApps\EmployeeApp\platforms\android\gradlew clean -b
C:\My_Files\MobileApps\EmployeeApp\platforms\android\build.gradle
----------------------------------------------------------------
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]