I'm used to Eclipse and recently tried to import and build a project in Android Studio using Gradle. For some reason, it does not load dependencies.
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not resolve com.squareup.dagger:dagger:1.2.1.
Required by:
nxt-freemarket-lite:app:unspecified
> Could not GET 'https://jcenter.bintray.com/com/squareup/dagger/dagger/1.2.1/dagger-1.2.1.pom'.
> Connection to https://jcenter.bintray.com refused
> Could not resolve com.jakewharton:butterknife:5.1.1.
Required by:
nxt-freemarket-lite:app:unspecified
> Could not GET 'https://jcenter.bintray.com/com/jakewharton/butterknife/5.1.1/butterknife-5.1.1.pom'.
> Connection to https://jcenter.bintray.com refused
> Could not resolve com.squareup.dagger:dagger-compiler:1.2.1.
Required by:
nxt-freemarket-lite:app:unspecified
> Could not GET 'https://jcenter.bintray.com/com/squareup/dagger/dagger-compiler/1.2.1/dagger-compiler-1.2.1.pom'.
> Connection to https://jcenter.bintray.com refused
I can download all .pom files in my browser. I tried running Android Studio as an administrator and disabled the Windows firewall. Why can't they get these prints?
source
share