Reputation: 13
I'm having problem changing minSdkVersion of an android application in eclipse, i want to change from 8 to 12 and every time it doesn't work, that are the first errors:
[2014-11-27 22:15:07 - BlaBlaPark1.3] C:\Users\Filippo\Desktop\EclipseAndroid2.0\programmi\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
[2014-11-27 22:15:07 - BlaBlaPark1.3]
[2014-11-27 22:15:07 - BlaBlaPark1.3] C:\Users\Filippo\Desktop\EclipseAndroid2.0\programmi\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
[2014-11-27 22:15:07 - BlaBlaPark1.3]
[2014-11-27 22:15:07 - BlaBlaPark1.3] C:\Users\Filippo\Desktop\EclipseAndroid2.0\programmi\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
[2014-11-27 22:15:07 - BlaBlaPark1.3]
maybe i need to add appcompat_v_7, i tryed but every time it give me a lot of error
Upvotes: 0
Views: 91
Reputation: 6924
if you have problems with appcompact 7 - there is a workaround
if you want to manually change your styles, go to your project, track down the problematic xml files, and replace
android:Widget.Material.ActionButton --> Materials new layout
with this:
android:style/Theme.Holo.Light --> Holo theme (from android HoneyComb and later)
Upvotes: 1