Gradle cannot resolve dependencies in Android Studio

前端 未结 3 1608
面向向阳花
面向向阳花 2021-01-04 21:03

I am developping an Android application on Android Studio with 3 collegues and recently, our project cannot be built anymore. We all have different versions of Android Studi

3条回答
  •  粉色の甜心
    2021-01-04 21:47

    I think that the problem you are hitting in Edit 3 is connected with those lines:

    maven {
        url "http://maven.hq.couchbase.com/nexus/content/repositories/releases/"
    }
    
    maven {
        url "http://files.couchbase.com/maven2/"
    }
    

    Some of those repositories is not active any more, and Android Studio has no timeout when checking that (freakin crazy, right?!).

    This was my issue at least: Android Studio stuck on "Gradle: resolve dependancies '_debugCompile'" or 'detachedConfiguration1'

提交回复
热议问题