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

前端 未结 13 1334
盖世英雄少女心
盖世英雄少女心 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:16

    Reading sembozdemir answer in this post I have resolved a similar problem adding jcenter() in build.gradle (module: cordovaLib)

    buildscript {
        repositories {
            mavenCentral()
            jcenter()
        }
    
        dependencies {
            classpath 'com.android.tools.build:gradle:2.2.3'
        }
    
    }
    

提交回复
热议问题