当前位置:   article > 正文

Eclipse 创建Android工程出现错误 res\values\styles.xml:7: error: Error retrieving parent for item: No resourc

res\values\styles.xml:7: error: error retrieving parent for item: no resourc

Eclipse 创建Android工程出现错误 例如:res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light’. 
res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light.DarkActionBar’.` 
这些问题基本都是没有R文件,

这里写图片描述 
即可以在创建工程时,在Minimum Required SDK选择API4.0就能解决这里写图片描述

 
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/223199
推荐阅读
相关标签
  

闽ICP备14008679号