Karate_Dog
Karate_Dog

Reputation: 1277

Android Support library Build V 25 error

I'm getting error in values v11 style value when I update my support library version from 23.4.0 to 25

Here are my configurations :

compileSdkVersion 25
buildToolsVersion "25.0.0"

defaultConfig {
        renderscriptTargetApi 21
        applicationId "com.myapp"
        minSdkVersion 16
        renderscriptSupportModeEnabled true
        targetSdkVersion 25
        versionCode 64
        versionName "2.0.8"
        multiDexEnabled true
    }

And my support library :

def SUPPORT_LIBRARY_VERSION = '25.0.0'
compile "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
    compile("com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION") {
        force = true;
    }
    compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
    compile "com.android.support:palette-v7:$SUPPORT_LIBRARY_VERSION"
    compile "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
    compile "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
    androidTestCompile "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"

The error I'm getting :

Error:(109, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha').
Error:(109, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha').

But when I reverted the support library version back to 23, it built just fine.

What am I missing? I just updated my Android SDK manager support library to the latest and still getting the same error.

Upvotes: 0

Views: 457

Answers (2)

Elias Fazel
Elias Fazel

Reputation: 2113

Replace @drawable/abc_ic_ab_back_mtrl_am_alpha with @drawable/abc_ic_ab_back_material

this is the source

Upvotes: 2

Piotr Zawadzki
Piotr Zawadzki

Reputation: 1678

Try changing it to abc_ic_ab_back_material

Upvotes: 1

Related Questions