While updating TargetSdkVersion to 23 on project build using older targetVersion on Android Studio, i got following error on build.
/path/to/project/app/build/intermediates/res/merged/debug/values/values.xml
Error:(1334) Error retrieving parent for item: No resource found that matches the given name '@style/TextAppearance.AppCompat.Light.Base.SearchResult.Subtitle'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/path/to/AndroidSdk/build-tools/23.0.1/aapt'' finished with non-zero exit value 1
The build.gradle is
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.myapplicaitonid"
minSdkVersion 15
targetSdkVersion 23
versionCode 8
versionName "1.0.7"
}
buildTypes {
release {
minifyEnabled false;
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile "com.android.support:appcompat-v7:23.1.1"
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.squareup.picasso:picasso:2.4.0'
}
Tried : https://stackoverflow.com/a/27243716/4221298
but still same issues.
Anyone faced similar and solved?