Ionic Cloud Package - Android Build Failed



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…
but I’v had builds go fine since then, and only started having issues last night :frowning:

  id       │ 25                     
  status   │ FAILED                 
  platform │ android                
  mode     │ release                
  started  │ Nov 2nd, 2016 14:46:54 


You have been opted out of telemetry. To change this, run: cordova telemetry on.

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
     Searched in the following locations:
     Required by:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


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

Build failure while building for Android
Ionic failed build android - Could not resolve all dependencies for configuration ':_debugCompile'

Hi CarlRyds,
I’ve had the same problem, resolved it by updating/installing packages (namely “Google Play services” and “Google Repositoy”) in the Android SDK (as suggested here).

Hope it helps you too!