Android Build工具 - 找不到与给定名称匹配的资源:attr'android:actionModeShareDrawable'

时间:2015-06-16 01:49:24

标签: android dependencies android-gradle

就在昨天,这个应用程序工作得非常好,但现在却抛出了错误:

enter image description here

以下是我的构建文件: build.gradle(模块应用):

apply plugin: 'com.android.application'

android {
    compileSdkVersion 19//21
    buildToolsVersion "20.0.0"//"21.1.2"

    defaultConfig {
        applicationId "(app)"
        minSdkVersion 14
        targetSdkVersion 19//21
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}

dependencies {
    compile 'com.android.support:appcompat-v7:20.0.0'
    //compile 'com.android.support:appcompat-v7:21.0.3'
    compile 'com.google.android.gms:play-services:+'
    compile 'com.squareup.picasso:picasso:2.5.1'
    // Additional
    compile 'com.android.support:cardview-v7:+'
    compile 'com.android.support:recyclerview-v7:+'
    compile 'com.android.support:palette-v7:+'
    compile 'com.mcxiaoke.volley:library:1.0.+'
    //compile 'com.android.support:appcompat-v7:22.2.0'
}

如何配置此功能?

0 个答案:

没有答案