I am not able to build the ionic app

Hi Team,

I am facing the below error when we build the ionic android build

Could not resolve all files for configuration ‘:app:releaseCompileClasspath’.

Could not resolve com.android.support:support-v4:24.1.1+.
Required by:
project :app
Failed to list versions for com.android.support:support-v4.
Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml’.
This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server (repo.maven.apache.org)
Failed to list versions for com.android.support:support-v4.
Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml’.
repo.maven.apache.org
Failed to list versions for com.android.support:support-v4.
Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/android/support/support-v4/maven-metadata.xml’.
repo.maven.apache.org

How to resolve this issue. kindly reply.

Thanks in Advance.

Regards,
Ramji