Hi All,
Does anyone know how I can resolve this? I have not changed anything, and this was working last week, so I guess there has been a change on Googles repo.
When I run:
cordova build
I get:
Running command: "C:\Program Files\nodejs\node.exe" E:\Development\IDE\ionic-apps\myapp\hooks\after_prepare\010_add_platform_class.js E:\Development\IDE\ionic-apps\myapp add to body class: platform-android ANDROID_HOME=E:\Development\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_92 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-maps:+. Searched in the following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-maps/maven-metadata.xml https://repo1.maven.org/maven2/com/google/android/gms/play-services-maps/ Required by: :android:unspecified > Could not find any version that matches com.google.android.gms:play-services-location:+. Searched in the following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/maven-metadata.xml
BUILD FAILED
Total time: 5.276 secs https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/ 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. Error: Error code 1 for command: cmd with args: /s,/c,"E:\Development\IDE\ionic-apps\myapp\platforms\android\gradlew cdvBuildDebug -b E:\Development\IDE\ionic-apps\myapp\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"