# Ionic build android is not working throw error

**URL:** <https://forum.ionicframework.com/t/ionic-build-android-is-not-working-throw-error/40654>\
**Category:** uncategorized\
**Created:** [January 7, 2016, 8:25am UTC](https://forum.ionicframework.com/t/ionic-build-android-is-not-working-throw-error/40654 "2016-01-07T08:25:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Birdaram](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@Birdaram](https://forum.ionicframework.com/u/Birdaram)\
**Post date:** [January 7, 2016, 8:25am UTC](https://forum.ionicframework.com/t/ionic-build-android-is-not-working-throw-error/40654/1 "2016-01-07T08:25:27Z")

</div>

FAILURE: Build failed with an exception.

- What went wrong:  
A problem occurred configuring root project ‘android’.

> Could not resolve all dependencies for configuration ‘:classpath’.  
> Could not resolve com.android.tools.build:gradle:1.0.0+.  
> Required by:  
> :android:unspecified  
> Failed to list versions for com.android.tools.build:gradle.  
> Unable to load Maven meta-data from [Central Repository: co](https://repo1.maven.org/maven2/co)  
> m/android/tools/build/gradle/maven-metadata.xml.  
> Could not GET ‘[https://repo1.maven.org/maven2/com/android/tools/bu](https://repo1.maven.org/maven2/com/android/tools/bu)  
> ild/gradle/maven-metadata.xml’.  
> peer not authenticated

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