免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6244 | 回复: 1
打印 上一主题 下一主题

[Android] 求助 在eclipse上新建的helloworld报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-10-26 17:52 |只看该作者 |倒序浏览

建工程这样建的, 把最小 版本改成4.0就没事了,报的错如下:

[2016-10-26 17:33:04 - 1_helloworld] E:\中心\1_helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:33:04 - 1_helloworld]
[2016-10-26 17:33:04 - 1_helloworld] E:\中心\1_helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:33:04 - 1_helloworld]
[2016-10-26 17:33:04 - 1_helloworld] E:\中心\1_helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:33:04 - 1_helloworld]
[2016-10-26 17:33:05 - 1_helloworld] E:\中心\1_helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:33:05 - 1_helloworld]
[2016-10-26 17:33:05 - 1_helloworld] E:\中心\1_helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:33:05 - 1_helloworld]
[2016-10-26 17:33:05 - 1_helloworld] E:\中心\1_helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:33:05 - 1_helloworld]
[2016-10-26 17:33:06 - 1_helloworld] E:\中心\1_helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:33:06 - 1_helloworld]
[2016-10-26 17:33:06 - 1_helloworld] E:\中心\1_helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:33:06 - 1_helloworld]
[2016-10-26 17:33:06 - 1_helloworld] E:\中心\1_helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:33:06 - 1_helloworld]
[2016-10-26 17:36:04 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:04 - 1.helloworld]
[2016-10-26 17:36:04 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:04 - 1.helloworld]
[2016-10-26 17:36:04 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:36:04 - 1.helloworld]
[2016-10-26 17:36:05 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:05 - 1.helloworld]
[2016-10-26 17:36:05 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:05 - 1.helloworld]
[2016-10-26 17:36:05 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:36:05 - 1.helloworld]
[2016-10-26 17:36:06 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:06 - 1.helloworld]
[2016-10-26 17:36:06 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:06 - 1.helloworld]
[2016-10-26 17:36:06 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:36:06 - 1.helloworld]
[2016-10-26 17:36:50 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:50 - 1.helloworld]
[2016-10-26 17:36:50 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:50 - 1.helloworld]
[2016-10-26 17:36:50 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:36:50 - 1.helloworld]
[2016-10-26 17:36:51 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:51 - 1.helloworld]
[2016-10-26 17:36:51 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:51 - 1.helloworld]
[2016-10-26 17:36:51 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:36:51 - 1.helloworld]
[2016-10-26 17:36:52 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:52 - 1.helloworld]
[2016-10-26 17:36:52 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:36:52 - 1.helloworld]
[2016-10-26 17:36:52 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:36:52 - 1.helloworld]
[2016-10-26 17:39:51 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:39:51 - 1.helloworld]
[2016-10-26 17:39:51 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:39:51 - 1.helloworld]
[2016-10-26 17:39:51 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:39:51 - 1.helloworld]
[2016-10-26 17:39:52 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:39:52 - 1.helloworld]
[2016-10-26 17:39:52 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:39:52 - 1.helloworld]
[2016-10-26 17:39:52 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:39:52 - 1.helloworld]
[2016-10-26 17:39:53 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:39:53 - 1.helloworld]
[2016-10-26 17:39:53 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:39:53 - 1.helloworld]
[2016-10-26 17:39:53 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:39:53 - 1.helloworld]
[2016-10-26 17:40:44 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:40:44 - 1.helloworld]
[2016-10-26 17:40:44 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:40:44 - 1.helloworld]
[2016-10-26 17:40:44 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:40:44 - 1.helloworld]
[2016-10-26 17:40:45 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:40:45 - 1.helloworld]
[2016-10-26 17:40:45 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:40:45 - 1.helloworld]
[2016-10-26 17:40:45 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:40:45 - 1.helloworld]
[2016-10-26 17:40:46 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:40:46 - 1.helloworld]
[2016-10-26 17:40:46 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:40:46 - 1.helloworld]
[2016-10-26 17:40:46 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:40:46 - 1.helloworld]
[2016-10-26 17:46:07 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:46:07 - 1.helloworld]
[2016-10-26 17:46:07 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:46:07 - 1.helloworld]
[2016-10-26 17:46:07 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:46:07 - 1.helloworld]
[2016-10-26 17:46:08 - 1.helloworld] E:\中心\1.helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:46:08 - 1.helloworld]
[2016-10-26 17:46:08 - 1.helloworld] E:\中心\1.helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:46:08 - 1.helloworld]
[2016-10-26 17:46:08 - 1.helloworld] E:\中心\1.helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:46:08 - 1.helloworld]
[2016-10-26 17:47:41 - helloworld] E:\中心\helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:47:41 - helloworld]
[2016-10-26 17:47:41 - helloworld] E:\中心\helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:47:41 - helloworld]
[2016-10-26 17:47:41 - helloworld] E:\中心\helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:47:41 - helloworld]
[2016-10-26 17:47:43 - helloworld] E:\中心\helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:47:43 - helloworld]
[2016-10-26 17:47:43 - helloworld] E:\中心\helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:47:43 - helloworld]
[2016-10-26 17:47:43 - helloworld] E:\中心\helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:47:43 - helloworld]
[2016-10-26 17:47:44 - helloworld] E:\中心\helloworld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:47:44 - helloworld]
[2016-10-26 17:47:44 - helloworld] E:\中心\helloworld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-10-26 17:47:44 - helloworld]
[2016-10-26 17:47:44 - helloworld] E:\中心\helloworld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-10-26 17:47:44 - helloworld]







求大神指导!!!!!!!!!!!!!!!!!!!!!!

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
2 [报告]
发表于 2017-01-10 14:29 |只看该作者
确保你选择的3个API Level对应的SDK都存在。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP