Ionic 2 unable to build app on platform android


#1

Could not resolve com.android.tools.build:gradle:2.2.3.
Required by:
project :
Could not resolve com.android.tools.build:gradle:2.2.3.
Could not get resource ‘https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
Could not GET ‘https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
repo1.maven.org
Could not resolve com.android.tools.build:gradle:2.2.3.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
Could not GET ‘https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
jcenter.bintray.com

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

D:\Public\AndroidDevelopment\Email Test\cordovaMail>


#2

What exact command are you executing?

Please edit your post and use the </> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.


#3

Could not resolve com.android.tools.build:gradle:2.2.3.
Required by:
project :
Could not resolve com.android.tools.build:gradle:2.2.3.
Could not get resource ‘https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
Could not GET ‘https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
repo1.maven.org
Could not resolve com.android.tools.build:gradle:2.2.3.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
Could not GET ‘https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom’.
jcenter.bintray.com

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

D:\Public\AndroidDevelopment\Email Test\cordovaMail>