No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius')

后端 未结 9 1832
孤街浪徒
孤街浪徒 2020-11-30 05:42

Can anybody help why I am getting an error in the following?

Error:(7, 41) No resource found that matches the given name (at \'dialogCornerRadius\'

9条回答
  •  悲&欢浪女
    2020-11-30 06:10

    After Everybody's help, I could resolve this issue & run app in lower version.

    My updated build.gradle is like below.

    Special thanks to all Genius out there!

    apply plugin: 'com.android.application'
    android.buildTypes.each { type ->
        type.buildConfigField 'String', 'Base_URL', WEBServiceBaseURL
        type.buildConfigField 'String', 'SMS_Base_URL', WEBServiceBaseSMSURL
    }
    
    android {
        compileSdkVersion 27
        buildToolsVersion "26.0.2"
        defaultConfig {
            applicationId "com.dummy.dummy"
            minSdkVersion 15
            targetSdkVersion 22
            versionCode 1
            versionName "1.0"
            testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
            multiDexEnabled  true
        }
        buildTypes {
            release {
                minifyEnabled true
                shrinkResources true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    
            }
        }
    
    }
    
    dependencies {
        compile fileTree(include: ['*.jar'], dir: 'libs')
        androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
            exclude group: 'com.android.support', module: 'support-annotations'
        })
        compile 'com.android.support:appcompat-v7:26.+'
        compile 'com.android.support.constraint:constraint-layout:1.0.2'
        testCompile 'junit:junit:4.12'
        compile 'com.android.support:design:26.+'
        compile files('libs/jxl-2.6.jar')
        compile 'com.google.gms:google-services:+'
        compile 'com.google.firebase:firebase-core:11.8.0'
        compile 'com.google.firebase:firebase-messaging:11.8.0'
    }
    
    apply plugin: 'com.google.gms.google-services'
    

提交回复
热议问题