Gradle error : Could not find com.android.tools.build:gradle:2.2.3

前端 未结 13 1330
盖世英雄少女心
盖世英雄少女心 2020-12-05 09:44

I\'m trying to build my android project using gradle and circleCI, but I\'ve got this error :

* What went wrong:
  A problem occurred configuring root projec         


        
13条回答
  •  [愿得一人]
    2020-12-05 10:18

    On my side I got the same issue because I used the wrong order of repositories.

    google() should be added before jcenter()

    buildscript {
        repositories {
            google()
            jcenter()
        }
    

提交回复
热议问题