首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Android styles.xml错误

Android styles.xml错误
EN

Stack Overflow用户
提问于 2016-04-05 00:16:31
回答 1查看 243关注 0票数 0

我正在看一个Android项目,这个项目是使用Eclipse与ADT一起开发的。

我已经包含了对android-support-v7-appcompat.jar.的参考

在res/value/styes.xml文件中,我得到了以下错误:

代码语言:javascript
复制
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

在res/value/themes.xml中,我得到以下这些类型的错误:

代码语言:javascript
复制
Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light.DarkActionBar'.

No resource found that matches the given name: attr 'actionBarStyle'.

Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light'.

etc...

似乎我只是错过了一小块配置。有什么想法吗?

EN

回答 1

Stack Overflow用户

发布于 2016-04-05 00:25:10

jar不包括资源。您必须引用一个aar

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36415030

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档