Android: Error: mergeDebugResources. | Could not resolve[2.3.0]. | Read timed out


Previously the app was working without any errors. Suddenly it started throwing errors when trying to compile and run the app through Android Studio.


def retrofit_version = '2.9.0'
def room_version = "2.3.0"
def navigation_component = "2.3.5"

implementation "$room_version"
kapt "$room_version"
implementation "$room_version"

//Navigation component
implementation "androidx.navigation:navigation-runtime-ktx:$navigation_component"
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_component"

// ViewModel and LiveData
implementation "android.arch.lifecycle:extensions:1.1.1"

// Firebase
implementation platform('')
implementation ''

implementation 'androidx.legacy:legacy-support-v4:1.0.0'


FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':module_name:mergeDebugResources'.
> Could not resolve all task dependencies for configuration ':module_name:debugRuntimeClasspath'.
 > Could not resolve[2.3.0].
 Required by:
     project :module_name >
     project :module_name >
  > Failed to list versions for
     > Could not list versions using M2 pattern '[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.
        > Could not get resource ''.
           > Could not GET ''.
              > Read timed out

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at

BUILD FAILED in 1m 28s


JCenter is actually down.
You can check the status here : JCenter downtime impact on resolution

Answered By – R.Tissier

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published