Error No resource found that matches the given name 'android: TextAppearance.Material.Widget.Button.Borderless.Colored

1

After compiling my gradle file, it marks me the following errors:

  

Error: (3) Error retrieving parent for item: No resource found that matches the given name 'android: TextAppearance.Material.Widget.Button.Borderless.Colored'.

     

Error: (4) Error retrieving parent for item: No resource found that matches the given name 'android: TextAppearance.Material.Widget.Button.Colored'.

This is my gradle file:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        applicationId "com.discomsc.eqbe"
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    sourceSets {
        main.java.srcDirs += 'src/main/java'
    }

    dexOptions {
        javaMaxHeapSize "4g"
    }
}
configurations.all {
    resolutionStrategy.force 'com.android.support:support-annotations:25.3.1'
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    //compile 'com.google.android.gms:play-services-auth:9.8.0'
    compile 'com.android.support:multidex:1.0.0'
    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'com.android.support:design:23.3.0'
    compile 'com.android.support:support-v4:23.3.0'
    compile 'com.google.android.gms:play-services-basement:11.0.4'
    compile 'com.google.android.gms:play-services:11.0.4'
    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
    androidTestCompile 'com.android.support.test:runner:0.5'
    //compile 'com.android.support:design:25.3.1'
    compile 'com.firebaseui:firebase-ui-database:1.2.0'
    compile 'com.google.firebase:firebase-core:11.0.4'
    compile 'com.google.firebase:firebase-database:11.0.4'
    compile 'com.google.firebase:firebase-messaging:11.0.4'
    compile 'com.google.firebase:firebase-auth:11.0.4'
    compile 'com.google.android.gms:play-services-auth:11.0.4'
    compile 'com.github.bumptech.glide:glide:3.8.0'
    compile 'com.facebook.android:facebook-android-sdk:[4,5)'
}

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

I really do not know why it marks an error if it was working correctly.

    
asked by user4028047 12.08.2017 в 16:49
source

1 answer

0

Regarding the problem:

  

Error No resource found that matches the given name   'android: TextAppearance.Material.Widget.Button.Borderless.Colored

You are requesting a resource that is not found in the SDK version, I suggest you configure the latest versions of no less than 25, for example:

  compile 'com.android.support:appcompat-v7:25.3.1'

and

compileSdkVersion 25
buildToolsVersion "25.0.2"
    
answered by 13.08.2017 / 22:56
source