Could not resolve[20.0.1]

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ‘:firebase_messaging:generateDebugRFile’.

Could not resolve all task dependencies for configuration ‘:firebase_messaging:debugRuntimeClasspath’.
Could not resolve[20.0.1].
Required by:
project :firebase_messaging >
Failed to list versions for
Unable to load Maven meta-data from
Could not get resource ‘’.
Could not GET ‘’. Received status code 502 from server: Bad Gateway

  • Try:

HTTP errors in the 5xx range are server errors.
So the server you try to access has a problem, or some proxy or similar in between has a problem.
But as I also cannot access the URL and even is down, I’d say there is a major ****up on the Bintray servers.