0
我使用的ActionBar福爾摩斯與Android版本的兼容性> = 8 並在使用它給我的代碼中的錯誤XML中使用前綴的屬性是給錯誤style.xml
error: Error: No resource found that matches the given name: attr 'titleTextStyle'.
我的代碼是
<style name="MyTheme.ActionBarStyle" parent="@style/Widget.Sherlock.ActionBar">
<item name="android:titleTextStyle">@style/MyTheme.ActionBar.TitleTextStyle</item>
<item name="titleTextStyle">@style/MyTheme.ActionBar.TitleTextStyle</item>
</style>
將您的minimun sdk版本從8更改爲11並清理並運行您的項目 – Pragnani