[Aerogear-users] aerogear-cordova-push

lumaruma martin-h.gross at hpe.com
Thu Nov 17 06:26:19 EST 2016


Hi Aerogear team,

thank you for your answer.
Yes, I placed the google-services.json after installing the plugin! Now I
have reinstalled the plugin, but get following at build:

*******************************************************
C:\eNoteAero\eNoteAero2>cordova build android --stacktrace
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_101

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve com.google.gms:google-services:3.0.0.
     Required by:
         :android:unspecified
      > Could not resolve com.google.gms:google-services:3.0.0.

BUILD FAILED

Total time: 5.755 secs
         > Could not get resource
'https://repo1.maven.org/maven2/com/google/gms/google-services/3.0.0/google-services-3.0.0.pom'.
            > Could not HEAD
'https://repo1.maven.org/maven2/com/google/gms/google-services/3.0.0/google-services-3.0.0.pom'.
               > sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
      > Could not resolve com.google.gms:google-services:3.0.0.
         > Could not get resource
'https://jcenter.bintray.com/com/google/gms/google-services/3.0.0/google-services-3.0.0.pom'.
            > Could not HEAD
'https://jcenter.bintray.com/com/google/gms/google-services/3.0.0/google-services-3.0.0.pom'.
               > sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
   > Could not resolve com.android.tools.build:gradle:1.2.3+.
     Required by:
         :android:unspecified
      > Could not resolve com.android.tools.build:gradle:1.2.3+.
         > Failed to list versions for com.android.tools.build:gradle.
            > Unable to load Maven meta-data from
https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml.
               > Could not GET
'https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml'.
                  > sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
      > Could not resolve com.android.tools.build:gradle:1.2.3+.
         > Failed to list versions for com.android.tools.build:gradle.
            > Unable to load Maven meta-data from
https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml.
               > Could not GET
'https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml'.
                  > 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.

*******************************************************
Please could you help me here?!

Thanks in advance and best regards
Martin Gross




--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/aerogear-cordova-push-tp925p953.html
Sent from the aerogear-users mailing list archive at Nabble.com.


More information about the Aerogear-users mailing list