Getting a bug, when I try to compile my project in studio , i have search quite a bit with no real solution to it
Error:(17, 0) Could not find method android() for argu
buildscript {
ext.versions = [
'compileSdk' : 27,
'targetSdk' : 27,
'buildTools' : '27.0.3',
'butterknife' : '8.8.1',
'glide' : '4.6.1',
'kotlin' : '1.2.21',
'retrofit' : '2.3.0',
'supportLibrary': '27.0.2'
]
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0-alpha01'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}