# Cordova Build Error with Google Maps

**URL:** <https://forum.ionicframework.com/t/cordova-build-error-with-google-maps/61875>\
**Category:** ionic-v3\
**Created:** [August 29, 2016, 7:26am UTC](https://forum.ionicframework.com/t/cordova-build-error-with-google-maps/61875 "2016-08-29T07:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardmarais](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/richardmarais/32/101456_2.png) [@richardmarais](https://forum.ionicframework.com/u/richardmarais)\
**Post date:** [August 29, 2016, 7:26am UTC](https://forum.ionicframework.com/t/cordova-build-error-with-google-maps/61875/1 "2016-08-29T07:26:42Z")

</div>

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"
> 
> ```

---

<div class="post-metadata">

**Author:** ![richardmarais](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/richardmarais/32/101456_2.png) [@richardmarais](https://forum.ionicframework.com/u/richardmarais)\
**Post date:** [August 29, 2016, 7:44am UTC](https://forum.ionicframework.com/t/cordova-build-error-with-google-maps/61875/2 "2016-08-29T07:44:41Z")

</div>

I think I need to run the Android SDK Manager and update certain libraries.

`> android`

Updated the libs from the error message. and it’s fixed.
