// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
使用idea写android应用时,配置错误问题使用idea写android应用时,配置错误问题,经过验证发现对于app目录下的 build.gradle和项目的build.gradle配置,以下组合可以轻易的运行项目,解决问题。项目根目录下的配置// Top-level build file where you can add configuration options common to...