As error:
AAPT: error: resource android:attr/colorError not found.
Solutions:
1 build.gradle Set as follows:
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.lgl.answersystem"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
Later, an error was reported
AAPT: error: resource android:attr/dialogCornerRadius not found.
terms of settlement:
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.lgl.answersystem"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
}