1. Could not find com.android.tools.build:aapt2:3.3.2-5309881
build失败,报错
解决办法:在项目下的build.gradle repositories下加入 google()
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
}
}