Build errors after Android Studio 3.2.1 upgrade

前端 未结 9 1353
我在风中等你
我在风中等你 2020-11-29 00:24

I am building a sample project from Udacity. This was working fine till now, but after upgrading to Android Studio 3.2.1, I am facing the build error below.

Gradle v

9条回答
  •  自闭症患者
    2020-11-29 01:13

    For Android Studio 3.2.1 update

    Just add google() in root level build.gradle

    buildscript {
        repositories {
            google()   //  <--here
            jcenter()
        }
     }
    
    allprojects {
        repositories {
            google()   //  <-- here
            jcenter()
        }
    }
    

    and see the magic - error is gone.

提交回复
热议问题