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

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

    i had the same issue when i update my android studio to 3.0 then its solved by adding

    buildscript {
         repositories {
        ...
        // You need to add the following repository to download the
        // new plugin.
        google()
    }
    
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0'
    }
     }
    

    from https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#update_gradle

提交回复
热议问题