Could not find com.android.tools.build:aapt2:3.2.0-4818971 Android Studio

Could not find com.android.tools.build:aapt2:3.2.0-4818971 Android Studio


Most likely you do not have the Google repository in your project’s build.gradle file. Add google() in BOTH locations as shown below:


buildscript {


    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath ‘com.android.tools.build:gradle:3.2.0’
    }
}


allprojects {
    repositories {
        google()
        jcenter()
    }

}

Related posts

Leave a Comment