If you are using support libraries version 28
, you should change to compileSdkVersion 28
as well.
android {
compileSdkVersion 28
defaultConfig {
targetSdkVersion 28
}
}
dependencies {
def android_support_library_version = '28.0.0'
implementation "com.android.support:appcompat-v7:$android_support_library_version"
implementation "com.android.support:design:$android_support_library_version"
implementation "com.android.support:support-vector-drawable:$android_support_library_version"
implementation "com.android.support:support-v4:$android_support_library_version"
}