Someone please help me.... Cannot get property 'compileSdkVersion' on extra properties extension as it does not exist in android studio.
Go to "Project Files" view and open the build gradle.
You will find something like this
// 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.3.1'
// 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
}
You have to add this definition:
ext {
compileSdkVersion = 23
buildToolsVersion = "23.0.1"
targetSdkVersion = 21
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With