I am Getting following error: android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013
I am just Write following Code in style.xml:
<style name="custom_actionbar_style" parent="@android:style/Theme.Holo.Light.DarkActionBar">
<item name="android:actionBarStyle">@style/custom_actionbar</item>
</style>
<style name="custom_actionbar" parent="@android:style/Widget.Holo.Light.ActionBar">
<item name="android:background">@drawable/india</item>
<item name="android:icon">@drawable/currancy2</item>
</style>
And done following changes in Android Mainfest file.
defaultConfig{ vectorDrawables.useSupportLibrary = true}
in gradle file and my gradle version is 2.10.
My Gradle file with following code
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
defaultConfig {
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
}
How to solve this Error.