"No Resource found that Matches the Given name" in values.xml

Asked

Viewed 80 times

0

I made some changes to the build.gradle application, and I think this caused a Resource error, which I still haven’t found solution.

Imagem do erro

build.Gradle:

    apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    buildToolsVersion "27.0.1"
    defaultConfig {
        applicationId 'com.app.user'
        minSdkVersion 15
        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'
        }
    }
    productFlavors {
    }
}

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.mercadopago:sdk:3.8.0'
    compile 'com.android.support:appcompat-v7:27.0.0'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.google.firebase:firebase-database:9.6.1'
    compile 'com.google.firebase:firebase-core:9.6.1'
    compile 'com.google.firebase:firebase-storage:9.6.1'
    compile 'com.google.firebase:firebase-auth:9.6.1'
    compile 'com.squareup.picasso:picasso:2.5.2'
    compile 'com.android.support:design:27.0.0'
    compile 'com.mikhaellopez:circularimageview:3.0.2'
    compile 'com.google.android.gms:play-services-auth:9.6.1'
    compile 'com.joooonho:selectableroundedimageview:1.0.1'
    testCompile 'junit:junit:4.12'
}








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

Error code, no values.xml

inserir a descrição da imagem aqui

I tried to change the SDK version, but it didn’t work.

  • What changes you had to make and why you believe they were the cause of the problem?

  • View this tutorial from the official website : https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html

1 answer

0

After a lot of searching, I decided to try to upgrade Androidstudio to the most current version (3.0.1), and to my surprise, this solved my problem.

I have no idea of the relationship between the two things, but it solved my problem. I thank those who tried to help.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.