qq_27899227 2015-06-21 03:29 采纳率: 0%
浏览 2224

新建android工程HellowWorld小程序报错

[2015-06-21 09:40:53 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:40:53 - HellowWord]
[2015-06-21 09:40:53 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:40:53 - HellowWord]
[2015-06-21 09:40:53 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 09:40:53 - HellowWord]
[2015-06-21 09:40:55 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:40:55 - HellowWord]
[2015-06-21 09:40:55 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:40:55 - HellowWord]
[2015-06-21 09:40:55 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 09:40:55 - HellowWord]
[2015-06-21 09:41:00 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:41:00 - HellowWord]
[2015-06-21 09:41:00 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:41:00 - HellowWord]
[2015-06-21 09:41:00 - HellowWord] F:\eclipse 32\workspace\HellowWord\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 09:41:00 - HellowWord]
[2015-06-21 09:54:11 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:54:11 - HellowAndroid]
[2015-06-21 09:54:11 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:54:11 - HellowAndroid]
[2015-06-21 09:54:11 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 09:54:11 - HellowAndroid]
[2015-06-21 09:54:13 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:54:13 - HellowAndroid]
[2015-06-21 09:54:13 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:54:13 - HellowAndroid]
[2015-06-21 09:54:13 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 09:54:13 - HellowAndroid]
[2015-06-21 09:54:14 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:54:14 - HellowAndroid]
[2015-06-21 09:54:14 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 09:54:14 - HellowAndroid]
[2015-06-21 09:54:14 - HellowAndroid] F:\eclipse 32\workspace\HellowAndroid\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 09:54:14 - HellowAndroid]
[2015-06-21 10:11:03 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:11:03 - HellowWorld]
[2015-06-21 10:11:03 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:11:03 - HellowWorld]
[2015-06-21 10:11:03 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 10:11:03 - HellowWorld]
[2015-06-21 10:11:04 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:11:04 - HellowWorld]
[2015-06-21 10:11:04 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:11:04 - HellowWorld]
[2015-06-21 10:11:04 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 10:11:04 - HellowWorld]
[2015-06-21 10:11:05 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:11:05 - HellowWorld]
[2015-06-21 10:11:05 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:11:05 - HellowWorld]
[2015-06-21 10:11:05 - HellowWorld] F:\eclipse 32\workspace\HellowWorld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 10:11:05 - HellowWorld]
[2015-06-21 10:46:52 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:46:52 - HellowWorld1]
[2015-06-21 10:46:52 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:46:52 - HellowWorld1]
[2015-06-21 10:46:52 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 10:46:52 - HellowWorld1]
[2015-06-21 10:46:54 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:46:54 - HellowWorld1]
[2015-06-21 10:46:54 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:46:54 - HellowWorld1]
[2015-06-21 10:46:54 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 10:46:54 - HellowWorld1]
[2015-06-21 10:47:05 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:47:05 - HellowWorld1]
[2015-06-21 10:47:05 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-21 10:47:05 - HellowWorld1]
[2015-06-21 10:47:05 - HellowWorld1] F:\eclipse 32\workspace\HellowWorld1\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-06-21 10:47:05 - HellowWorld1]图片说明

  • 写回答

7条回答 默认 最新

  • frank_20080215 2015-06-21 03:38
    关注

    可能的原因是要不sdk没有这个style或者是这个style被设置为不公开的了。

    对于非public的xml属性,可以在“@”后加个"*"解决,如下:

    <item name="android:windowTitleStyle">@*android:style/Widget.TextView.ListSeparator.White</item>
    

    或者有一个比较笨的方法,就是把源码里的那个style复制过来放到自己的xml里然后引用。

    评论

报告相同问题?

悬赏问题

  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条