2 Replies Latest reply on Jun 28, 2016 12:28 PM by ryanskihead

    Android build fails with urban-airship cordova plugin

    rabias58762581 Level 1

      Phonegap build for my app fails with urban-airship cordova plugin. Below is the error log from the build. App id : 1491664

      Not sure how to resolve this. Has anyone faced something similar before?

       

       

       

      Fetching plugin "urbanairship-cordova" via npm

      Installing "urbanairship-cordova" at "5.3.0" for android

      --------------------------------------------------------------------------------

      COMPILE OUTPUT

      --------------------------------------------------------------------------------

      Build option --'' not recognized (ignoring).

      Running: /project/gradlew cdvBuildDebug -b /project/build.gradle -Dorg.gradle.daemon=true -PcdvBuildMultipleApks=false

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      A problem occurred configuring root project 'project'.

      > Could not resolve all dependencies for configuration ':_debugCompile'.

        > Could not find com.google.android.gms:play-services-location:9.0.2.

        Searched in the following locations:

        https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/9.0.2/play-se rvices-location-9.0.2.pom

        https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/9.0.2/play-se rvices-location-9.0.2.jar

        https://jcenter.bintray.com/com/google/android/gms/play-services-location/9.0.2/play-servi ces-location-9.0.2.pom

        https://jcenter.bintray.com/com/google/android/gms/play-services-location/9.0.2/play-servi ces-location-9.0.2.jar

        file:/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-locati on/9.0.2/play-services-location-9.0.2.pom

        file:/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-locati on/9.0.2/play-services-location-9.0.2.jar

        file:/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-locatio n/9.0.2/play-services-location-9.0.2.pom

        file:/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-locatio n/9.0.2/play-services-location-9.0.2.jar

        Required by:

        :project:unspecified