Android 更新到材质设计时出错

Android 更新到材质设计时出错,android,material-design,Android,Material Design,我正在尝试更新我的项目以使用新的MaterialDesign libs,但出现以下错误: /demo/debug/values/values.xml:1095:错误:属性 SelectableItemBackgroundLess已定义 我正在使用具有以下依赖项的内部库: android { compileSdkVersion 21 buildToolsVersion '21.1' defaultConfig { applicationId "xxx.xxx.xxx" minSd

我正在尝试更新我的项目以使用新的MaterialDesign libs,但出现以下错误:

/demo/debug/values/values.xml:1095:错误:属性 SelectableItemBackgroundLess已定义

我正在使用具有以下依赖项的内部库:

android {
compileSdkVersion 21
buildToolsVersion '21.1'

defaultConfig {
    applicationId "xxx.xxx.xxx"
    minSdkVersion 16
    targetSdkVersion 19
    versionCode 1
    versionName "1.0"
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:support-v4:21.0.0'
    compile 'com.android.support:appcompat-v7:21.0.0'
    compile 'com.android.support:recyclerview-v7:21.0.0'
    compile 'com.android.support:cardview-v7:21.0.0'
    compile 'com.google.android.gms:play-services:6.1.11'
} 
我卡住了,请帮帮我

我建议试试

dependencies {
    compile "com.android.support:appcompat-v7:21.0.+"
}
正如android开发者博客所说。
我解决了这个问题。我发现我的项目有一个名为SelectableItemBackgroundLess的自定义属性名,请删除它。这个项目现在正在进行中

好像是一只虫子。。当我将support-v4和support-v7-appcompat添加为JAR时,一切都正常,但当我将它们添加为依赖项时,我得到了上面的错误…@user2906978您从哪里获得JAR?