资源链接失败,错误:资源android:attr/dialogCornerRadius未找到

资源链接失败,错误:资源android:attr/dialogCornerRadius未找到,android,gradle,build.gradle,android-support-library,android-resources,Android,Gradle,Build.gradle,Android Support Library,Android Resources,当我集成条带库时,它会创建链接资源 SDK版本导致的问题。当我升级我的SDK版本时 从v7:27.1.1到v7:28.0.0,并将我的编译SDK版本更改为28 问题解决后,它会导致清单文件出现问题。 为SDK版本添加此库,但不能解决此问题 build.gradle文件: configurations.all { resolutionStrategy { force 'com.android.support:support-v4:27.1.1' }} androi

当我集成条带库时,它会创建链接资源 SDK版本导致的问题。当我升级我的SDK版本时 从v7:27.1.1到v7:28.0.0,并将我的编译SDK版本更改为28 问题解决后,它会导致清单文件出现问题。
为SDK版本添加此库,但不能解决此问题

build.gradle
文件:

configurations.all {
    resolutionStrategy {
        force 'com.android.support:support-v4:27.1.1'
    }}

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.goldtech.linkbreed"
        minSdkVersion 19
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner 

    "android.support.test.runner.AndroidJUnitRunner"
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
    }


    dependencies {
        implementation fileTree(dir: 'libs', include: ['*.jar'])
        implementation 'com.android.support:appcompat-v7:27.1.1'
        implementation 'com.android.support:design:27.1.1'
        implementation 'de.hdodenhof:circleimageview:3.0.0'

        //  for slider images
        implementation 'com.github.smarteist:autoimageslider:1.3.2-appcompat'
        implementation 'com.stripe:stripe-android:11.2.0' // stripe  payment

        implementation 'com.jakewharton:butterknife:8.6.0'
        annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'

        implementation 'com.github.shts:StoriesProgressView:3.0.0' //  for stories
        implementation 'com.allattentionhere:autoplayvideos:0.2.0' // for video in recyclerview

        //  indicator //
        implementation 'com.wang.avi:library:2.1.3'

    implementation 'com.github.bumptech.glide:glide:3.8.0'

        implementation 'com.android.volley:volley:1.1.1'

        //////////////   exoplayer  //////////////////////

        implementation 'com.google.android.exoplayer:exoplayer:r2.4.0'
        implementation 'com.google.android.exoplayer:exoplayer-core:r2.4.0'
        implementation 'com.google.android.exoplayer:exoplayer-dash:r2.4.0'
        implementation 'com.google.android.exoplayer:exoplayer-hls:r2.4.0'
        implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:r2.4.0'
        implementation 'com.google.android.exoplayer:exoplayer-ui:r2.4.0'


        implementation 'com.android.support.constraint:constraint-layout:1.1.3'
        implementation 'com.android.support:support-v4:27.1.1'
        //implementation 'com.google.firebase:firebase-crash:11.8.0'
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'com.android.support.test:runner:1.0.2'
        androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    }

    apply plugin: 'com.google.gms.google-services'

发生此错误的原因是
编译器DKVersion
和库版本不匹配。 将
compileSdkVersion
更改为
28

android {
    compileSdkVersion 28
    ...
}

发生此错误的原因是
编译器DKVersion
和库版本不匹配。 将
compileSdkVersion
更改为
28

android {
    compileSdkVersion 28
    ...
}