Issue building for android

Hi

I am having an issue building the starter app with no changes made for android. I am guessing it must have something to do with my android SDK? Ionic serve works fine.

Here is my Ionic Info

cli packages: 

    @ionic/cli-utils  : 1.15.2
    ionic (Ionic CLI) : 3.15.2

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.7.1

System:

    Android SDK Tools : 26.1.1
    Node              : v6.11.1
    npm               : 3.10.10
    OS                : Windows 10

Environment Variables:

    ANDROID_HOME : C:\Android\android-sdk

Misc:

    backend : pro

Here is the build error

The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

        at build_913ydgx1e136lb9zlt8onetkc.run(C:\Projects\MISC\ionictest\myApp\platforms\android\build.gradle:141)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApk'.
   > A problem occurred configuring project ':CordovaLib'.
      > Could not resolve all files for configuration ':CordovaLib:classpath'.
         > Could not find maven-ant-tasks.jar (org.apache.maven:maven-ant-tasks:2.1.3).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
         > Could not find httpclient.jar (org.apache.httpcomponents:httpclient:4.2.1).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar
         > Could not find ant.jar (org.apache.ant:ant:1.8.0).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/ant/ant/1.8.0/ant-1.8.0.jar
         > Could not find plexus-utils.jar (org.codehaus.plexus:plexus-utils:1.5.15).
           Searched in the following locations:
               https://jcenter.bintray.com/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
         > Could not find httpcore.jar (org.apache.httpcomponents:httpcore:4.2.1).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.jar
         > Could not find commons-codec.jar (commons-codec:commons-codec:1.6).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
         > Could not find commons-beanutils.jar (commons-beanutils:commons-beanutils:1.8.0).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar
         > Could not find commons-collections.jar (commons-collections:commons-collections:3.2.1).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
         > Could not find commons-lang.jar (commons-lang:commons-lang:2.4).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
         > Could not find xercesImpl.jar (xerces:xercesImpl:2.9.1).
           Searched in the following locations:
               https://jcenter.bintray.com/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
         > Could not find backport-util-concurrent.jar (backport-util-concurrent:backport-util-concurrent:3.1).
           Searched in the following locations:
               https://jcenter.bintray.com/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

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

BUILD FAILED

Total time: 1.482 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApk'.
   > A problem occurred configuring project ':CordovaLib'.
      > Could not resolve all files for configuration ':CordovaLib:classpath'.
         > Could not find maven-ant-tasks.jar (org.apache.maven:maven-ant-tasks:2.1.3).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
         > Could not find httpclient.jar (org.apache.httpcomponents:httpclient:4.2.1).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar
         > Could not find ant.jar (org.apache.ant:ant:1.8.0).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/ant/ant/1.8.0/ant-1.8.0.jar
         > Could not find plexus-utils.jar (org.codehaus.plexus:plexus-utils:1.5.15).
           Searched in the following locations:
               https://jcenter.bintray.com/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
         > Could not find httpcore.jar (org.apache.httpcomponents:httpcore:4.2.1).
           Searched in the following locations:
               https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.jar
         > Could not find commons-codec.jar (commons-codec:commons-codec:1.6).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
         > Could not find commons-beanutils.jar (commons-beanutils:commons-beanutils:1.8.0).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar
         > Could not find commons-collections.jar (commons-collections:commons-collections:3.2.1).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
         > Could not find commons-lang.jar (commons-lang:commons-lang:2.4).
           Searched in the following locations:
               https://jcenter.bintray.com/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
         > Could not find xercesImpl.jar (xerces:xercesImpl:2.9.1).
           Searched in the following locations:
               https://jcenter.bintray.com/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
         > Could not find backport-util-concurrent.jar (backport-util-concurrent:backport-util-concurrent:3.1).
           Searched in the following locations:
               https://jcenter.bintray.com/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar

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

[ERROR] An error occurred while running cordova build android (exit code 1).

Any help with this would be appreciated.

Thanks

Any solution for this??