Tuesday, December 17, 2013

Could not download artifact 'xxx.yyy.zzz:xyz:0.0.0@jar'

I've recently got errors related to gradle not being able to find a few dependencies.
 * What went wrong:
 A problem occurred configuring project ':ExampleProject'.
 > Failed to notify project evaluation listener.
    > Could not download artifact 'com.squareup.dagger:dagger:1.2.0@jar'
       > Artifact 'com.squareup.dagger:dagger:1.2.0@jar' not found.
Solution: Use gradle's option --refresh-dependencies to force a refresh of dependencies. :)