情景再现
最近打开Android Studio说要更新项目Gradle版本至4.6,结果build.gradle里面是这样的:
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
还是3.2.0,结果去file–>project structure看到已经是4.6了
gradle-wrapper.properties文件也是4.6
#Tue Oct 30