在此错误之前,我的所有应用程序都运行良好,但是当我突然接受新项目时,它在我的appcompat中显示了错误,并且在我的项目中在android依赖项中的构建路径中显示了错误。请给我一些解决方案我该怎么办。并且也让我更加清楚了android依赖项和appcompat库文件。它显示此错误:-
appcompat_v7/res/values-v21/themes_base.xml:194: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
appcompat_v7/res/values-v21/themes_base.xml:195: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
appcompat_v7/res/values-v21/themes_base.xml:193: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
appcompat_v7/res/values-v21/themes_base.xml:190: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
appcompat_v7/res/values-v21/themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
谢谢
终于我的错误解决了,但这不是我想要的确切解决方案。我所做的工作是我创建了一个新项目并采用了最小sdk版本,而15和进一步的api中都包含了15个bcoz动作栏功能。我认为该功能是在11 api中引入的。现在需要appcompat库不会出现任何错误...但是我通过替代解决方案解决了这个问题,但我也想回答我的问题。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句