Hi,
Iv had a few builds for Android done for my app using Ionic Cloud Package and it all worked fine, I then added some more images and pages and sent it up again and now it’s failing every singles time, below is the output from Ionic Cloud.
Any ideas what’s going on and how to fix it?
I recently updated to webpack… http://blog.ionic.io/ionic-build-process-updates/
but I’v had builds go fine since then, and only started having issues last night
id │ 25
status │ FAILED
platform │ android
mode │ release
started │ Nov 2nd, 2016 14:46:54
output:
You have been opted out of telemetry. To change this, run: cordova telemetry on.
ANDROID_HOME=/usr/local/src/android-sdk-linux
JAVA_HOME=/usr/lib/jvm/java-8-oracle
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find any version that matches com.google.android.gms:play-services-gcm:9.8+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/maven-metadata.xml
https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/
file:/usr/local/src/android-sdk-linux/extras/android/m2repository/com/google/android/gms/play-services-gcm/maven-metadata.xml
file:/usr/local/src/android-sdk-linux/extras/android/m2repository/com/google/android/gms/play-services-gcm/
file:/usr/local/src/android-sdk-linux/extras/google/m2repository/com/google/android/gms/play-services-gcm/maven-metadata.xml
Required by:
:android:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.543 secs
Error: Error code 1 for command: /home/package/workspace/apps-1f0f0b45-25/cordova/platforms/android/gradlew with args: cdvBuildRelease,-b,/home/package/workspace/apps-1f0f0b45-25/cordova/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true