Error:(22, 0) Could not find method android() for arguments [build_f4ew1a41bq41joqwhi0524mif$_run_closure3@5e10ffc5] on root project 'JKH2' of type org.gradle.api.Project. Open File - broderick.Kunze13 commented on July 8th 19 at 11:35
the update did not help - broderick.Kunze13 commented on July 8th 19 at 11:38
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
/* dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}*/
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Open File - broderick.Kunze13 commented on July 8th 19 at 11:35
buildscript {
repositories {
jcenter()
}
/* dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}*/
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
android {
// compileSdkVersion 18
// buildToolsVersion '19.1.0'
signingConfigs {
config {
}
}
compileSdkVersion 18
buildToolsVersion '19.1.0'
defaultConfig {
minSdkVersion 18
targetSdkVersion 18
}
productFlavors {
}
}
dependencies {
} - broderick.Kunze13 commented on July 8th 19 at 11:41