Ainda não tem acesso? Estude com a gente! Matricule-se
Ainda não tem acesso? Estude com a gente! Matricule-se

IONIC - Build android com onesignal

O push estava funcionando corretamente e o APP buildando normalmente mas agora acontece o seguinte erro:

  • Where: Build file 'C:\ionic\pushtest\platforms\android\app\build.gradle' line: 94

  • What went wrong: A problem occurred evaluating project ':app'.

    Could not resolve all files for configuration 'classpath'. Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.9 9]. Required by:

       unspecified:unspecified:unspecified

    Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.9 9.99]. Failed to list versions for gradle.plugin.com.onesignal:onesignal-gradle-plugin . Unable to load Maven meta-data from https://plugins.gradle.org/m2/gradle/plu gin/com/onesignal/onesignal-gradle-plugin/maven-metadata.xml. Could not HEAD 'https://plugins.gradle.org/m2/gradle/plugin/com/onesignal /onesignal-gradle-plugin/maven-metadata.xml'. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certifica tion 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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7s