Eclipse,appcompat和themes找不到与给定名称“Theme.AppCompat.Light”匹配的资源。

时间:2017-02-19 17:18:47

标签: java android eclipse

这可能看似重复但不是。(其他问题都没有相同的情况)。

在eclipse中,一个新创建的应用程序,在我创建它之后每次都显示错误,应用程序将无法运行。它变得如此令人沮丧。

事实:
我的包浏览器中没有appcompat_v7 我在sdk库中找不到android support library(已过时检查) 在{sdk manager extras中Broken Source package,我无法删除

我的日志:

[2017-02-19 18:52:40 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2017-02-19 18:52:40 - Rabbit] 
[2017-02-19 18:52:40 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2017-02-19 18:52:40 - Rabbit] 
[2017-02-19 18:52:40 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2017-02-19 18:52:40 - Rabbit] 
[2017-02-19 18:52:44 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2017-02-19 18:52:44 - Rabbit] 
[2017-02-19 18:52:44 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2017-02-19 18:52:44 - Rabbit] 
[2017-02-19 18:52:44 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2017-02-19 18:52:44 - Rabbit] 
[2017-02-19 18:52:51 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2017-02-19 18:52:51 - Rabbit] 
[2017-02-19 18:52:51 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2017-02-19 18:52:51 - Rabbit] 
[2017-02-19 18:52:51 - Rabbit] C:\Users\Adminstrator\workspace\Rabbit\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2017-02-19 18:52:51 - Rabbit]

0 个答案:

没有答案