Error Downloading Dependencies for Android

When trying to build Android application, I get 502 or 504 errors when trying to download libraries:

> Could not resolve org.greenrobot:eventbus:3.1.1.
  Required by:
      project :app
   > Could not resolve org.greenrobot:eventbus:3.1.1.
      > Could not get resource 'https://jcenter.bintray.com/org/greenrobot/eventbus/3.1.1/eventbus-3.1.1.pom'.
         > Could not GET 'https://jcenter.bintray.com/org/greenrobot/eventbus/3.1.1/eventbus-3.1.1.pom'. Received status code 502 from server: Bad Gateway
> Could not resolve com.google.dagger:dagger:2.12.
 Required by:
     project :app
  > Could not resolve com.google.dagger:dagger:2.12.
     > Could not get resource 'https://jcenter.bintray.com/com/google/dagger/dagger/2.12/dagger-2.12.pom'.
        > Could not GET 'https://jcenter.bintray.com/com/google/dagger/dagger/2.12/dagger-2.12.pom'. Received status code 504 from server: Gateway Time-out```
1 Like

That’s been posted a lot recently, the primary duplicate is here.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.