Ionic can't emulate or run

616 Views Asked by At

I try to generate a application, but i've some probleme and i don't know what to do.. I try to emulate/run on android but i've this error message:

FAILURE BUILD failed with an exception

Could not resolve all dependencies for configuration ':classpath'

failed to list versions for com.android.tools.build:gradle

"Connection to https://repo1.maven.org" refused

If someone have a idea for fixe the problem, help me! :(

1

There are 1 best solutions below

2
On

The error message is pretty clear: builder can't access a host. To resolve try the following.

  • Verify your internet connection
  • Make sure you are not behind proxy if you do please read this
  • Try run ping repo1.maven.org or host repo1.maven.org