Could not resolve all dependencies for configuration ':classpath'

后端 未结 23 1484
离开以前
离开以前 2020-12-01 04:27

I cant seem to get build tools for the latest gradle at all. I suspect its something to do with proxy setting for gradle. I have had a good look online but still cant seem t

23条回答
  •  甜味超标
    2020-12-01 04:51

    The solution is in your build.gradle change this block:

    allprojects {
      repositories {
        jcenter()
        google()
      }
    }
    

    to google in first position :

    allprojects {
      repositories {
        google()
        jcenter()
      }
    }
    

提交回复
热议问题