android - ColorPrimary,colorAccent replaced in Eclipse -


i have style in android studio project want use eclipse project make error

<style name="apptheme" parent="theme.appcompat.light.darkactionbar">     <!-- customize theme here. -->     <item name="colorprimary">@color/colorprimary</item>     <item name="colorprimarydark">@color/colorprimarydark</item>     <item name="coloraccent">@color/coloraccent</item> </style> 

and want use sdk

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

error is

error: error: no resource found matches given name: attr 'colorprimarydark'.

error: error: no resource found matches given name: attr 'coloraccent'.

  1. update project.properties file of appcompat v7, has:target=android-19 target=android-21

  2. also update google play services library (by update mean update in sdk manager , re-import etc)

  3. fixed issue me. appcompat_v7 project targeted @ 4.4.2 failed link v21 libs.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -