Android Studio "Error retrieving parent, No resource found that match the given name" on TargetSdkVersion update to 23 -


while updating targetsdkversion 23 on project build using older targetversion on android studio, got following error on build.

/path/to/project/app/build/intermediates/res/merged/debug/values/values.xml error:(1334) error retrieving parent item: no resource found matches given name '@style/textappearance.appcompat.light.base.searchresult.subtitle'. error:execution failed 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 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 , solved?

got it

this theme deprecated.

read textappearance.appcompat.light.searchresult.subtitle

error:(1144) error retrieving parent item: no resource found matches given name '@style/textappearance.appcompat.light.base.searchresult.subtitle'.

<style name="textappearance.appcompat.light.searchresult.subtitle"            parent="textappearance.appcompat.light.base.searchresult.subtitle"> </style> 

as android evolves each new version, behaviors , appearances might change. however, if api level of platform higher version declared app's targetsdkversion, system may enable compatibility behaviors ensure app continues work way expect.

you can't call due deprecation .

textappearance.appcompat.light.base.searchresult.subtitle deprecated api 23 .


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -