java - Android Studio Error 4 retreiving parent for item -


the context old application developped eclipse.

eclipse manifest file used :

<uses-sdk         android:minsdkversion="8"          android:targetsdkversion="17"         /> 

i migrated android studio , fails build.

complete message :

error:(4) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.button.inverse'. 

source error occurs : app\build\intermediates\res\merged\debug\values-v23\values-v23.xml

build.gradle:

buildscript {     repositories {         jcenter()     }     dependencies {         classpath 'com.android.tools.build:gradle:2.2.3'     } }  compilesdkversion 21     buildtoolsversion '21.1.2'     defaultconfig {         applicationid "fr.test.studio"         minsdkversion 14         targetsdkversion 21         signingconfig signingconfigs.config     }  dependencies {     compile 'com.android.support:appcompat-v7:21.1.2'     compile 'com.google.android.gms:play-services:+'     compile files('src/lib/gcm.jar')     compile files('src/lib/org.apache.httpcomponents.httpclient_4.2.6.v201311072007.jar')     compile files('src/lib/org.apache.httpcomponents.httpcore_4.2.5.v201311072007.jar') } 

what don't understand android studio fails build because of values-v23.xml content. i'm not using v23 sdk. installed sdk 9, 14 , 21.

i facing many problems of deprecated stuff, why choose sdk 21 old stuff still works without modification.

i read tons of posts solution use sdk 23 it's not option cause have deliver compiled version. wether plan rewrite code deprecated stuff, using sdk 23 make me change code now.

note didn't code in java 3 years. i'm bit lost. sorry if question seems obvious yours eyes.

maybe there theme problem ?


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -