Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Widget.ActionBar.Title'

前端 未结 7 1296
我寻月下人不归
我寻月下人不归 2020-12-02 18:09

I am implementing ActionBar to set the color for text using this style script in xml but getting error when I run my application time does anybody have idea what I have miss

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 18:50

    This is an old post, but if anyone comes up with this problem, i post what solved my problem:

    I was trying to add the Action Bar Sherlock to my proyect when i get the error:

    Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'.
    

    I turns out that the action bar sherlock proyect and my proyect had differents minSdkVersion and targetSdkVersion. Changing that parameters to match in both proyect solved my problem.

    
    

提交回复
热议问题