找不到属性' autoSizeTextType'的资源标识符。在26.0.2中不支持包中

时间:2018-01-30 07:59:53

标签: android

我已将支持库版本更新为26.0.2,supportLibraryVersionAutoText = '26.0.2',所有相关文件现在也已更新。请参阅以下

support = [
            design:                     "com.android.support:design:${supportLibraryVersionAutoText}",
            recyclerView:               "com.android.support:recyclerview-v7:${supportLibraryVersionAutoText}",
            cardView:                   "com.android.support:cardview-v7:${supportLibraryVersionAutoText}",
            appCompat:                  "com.android.support:appcompat-v7:${supportLibraryVersionAutoText}",
            appCompatV4:                "com.android.support:support-v4:${supportLibraryVersionAutoText}",
            annotation:                 "com.android.support:support-annotations:${supportLibraryVersionAutoText}"
    ]

再次项目build.gradle,我更新了

allprojects {
    repositories {
        jcenter()

    }
}
allprojects{
    repositories{
        maven {
            url "https://maven.google.com"
        }
    }
}

但是当我在XML文件中添加变量时,它仍然没有找到资源标识符。请帮助我在这里失踪。

0 个答案:

没有答案