Error in building

Hello I have frustrating error in ionic build package. I can`t find any resolution on web.

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: 2.797 secs
Error: Error code 1 for command: /home/package/workspace/apps-ed16775e-227/cordova/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/package/workspace/apps-ed16775e-227/cordova/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true

This may be due to google play services may be included in your project more than once. Go to Build.graddle file and verify it properly

locally: update your android tools through Android SDK Manager by scrolling down to “Extras”. Make sure that all Google Play services/libraries and “Google Repository” are up to date. Then build again.

ionic cloud: wait for an actual fix from team ionic. meanwhile build your APKs locally.

More info on this topic can be found here:

And here: