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

hello, my friend, I meet this problem too, Did you resolve it ? if so, help me please , thanks !

my email is : shengjiong007@outlook.com

Hi

My friend its temporary error only i am not done anything. The next day again run the build command its worked.

My suggestion is check the internet connection working properly or not.

Hi,
my friend , Thank you all the same. you are so lucky.
Maybe I should go to sleep and maybe its will work tomorrow