如何解决这个android错误 [英] How to solve this android error
问题描述
[2015-03-27 21:42:32 - SampleProject] I:\ workspace2 \workspace \SampleProject\res\values \styles.xml:7:错误:检索项目的父项时出错:找不到与给定名称Theme.AppCompat.Light匹配的资源。
[2015-03-27 21:42:32 - SampleProject]
[2015-03 -27 21:42:32 - SampleProject] I:\ workspace2 \ workspace \SampleProject\res\values-v11 \ styles.xml:7:错误:检索项目的父项时出错:找不到匹配的资源给定名称'Theme.AppCompat.Light'。
[2015-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42 :32 - SampleProject] I:\ workspace2 \ workspace \SampleProject\res\values-v14 \ styles.xml:8:错误:检索项目的父项时出错:找不到与给定名称匹配的资源'主题.AppCompat.Light.DarkActionBar'。
[2015-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\ work pace2 \workspace \SampleProject\res\values \styles.xml:7:错误:检索项目的父项时出错:找不到与给定名称Theme.AppCompat.Light匹配的资源。
[2015-03-27 21:42:33 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\ workspace2 \ workspace \SampleProject \\\\values-v11 \styles.xml:7:错误:检索项目的父项时出错:找不到与给定名称Theme.AppCompat.Light匹配的资源。
[2015 -03-27 21:42:33 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\ workspace2 \ workspace \SampleProject \\\ values-v14 \styles.xml:8:错误:检索项目的父项时出错:找不到与给定名称Theme.AppCompat.Light.DarkActionBar匹配的资源。
[2015-03- 27 21:42:33 - SampleProject]
[2015-03-27 21:42:32 - SampleProject] I:\workspace2\workspace\SampleProject\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42:32 - SampleProject] I:\workspace2\workspace\SampleProject\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42:32 - SampleProject] I:\workspace2\workspace\SampleProject\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-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\workspace2\workspace\SampleProject\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:33 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\workspace2\workspace\SampleProject\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:33 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\workspace2\workspace\SampleProject\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-03-27 21:42:33 - SampleProject]
推荐答案
您缺少一些Android支持库。找出支持库设置 [ ^ ]
了解详情:支持库功能 [ ^ ]
You are missing some Android Support Libraries. Find out Support Library Setup[^]
Read more: Support Library Features[^]
您使用的是外部库吗?
这篇关于如何解决这个android错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!