2 Replies Latest reply on Jun 28, 2016 9:42 AM by kerrishotts

    Phonegap build fails with urban-airship cordova plugin

    rabias58762581

      My app fails to build with urban-airship cordova plugin installed for android. Log file below. Any help or experience facing similar issue?

       

      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-services-location-9.0.2.pom https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/9.0.2/play-services-location-9.0.2.jar https://jcenter.bintray.com/com/google/android/gms/play-services-location/9.0.2/play-services-location-9.0.2.pom https://jcenter.bintray.com/com/google/android/gms/play-services-location/9.0.2/play-services-location-9.0.2.jar file:/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-location/9.0.2/play-services-location-9.0.2.pom file:/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-location/9.0.2/play-services-location-9.0.2.jar file:/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-location/9.0.2/play-services-location-9.0.2.pom file:/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-location/9.0.2/play-services-location-9.0.2.jar Required by: :project:unspecified > Could not find com.google.android.gms:play-services-gcm:9.0.2. Searched in the following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.pom https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.jar https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.pom https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.jar file:/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.pom file:/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.jar file:/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.pom file:/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-gcm/9.0.2/play-services-gcm-9.0.2.jar Required by: :project:unspecified > com.urbanairship.android:urbanairship-sdk:7.2.0