I upgraded Android studio and then I tried to adapt for my project to Admob but I have this error:
My build config compile sdk version like this;
android {
compileSdkVersion 28
defaultConfig {
applicationId "samples.hasan.deneme.com"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}