新建Android项目出以下的错误:
C:\Users\txxs\workspace\4sd\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-11-23 11:57:46 - 4sd]
[2016-11-23 11:57:46 - 4sd] C:\Users\txxs\workspace\4sd\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-11-23 11:57:46 - 4sd]
[2016-11-23 11:57:46 - 4sd] C:\Users\txxs\workspace\4sd\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-11-23 11:57:46 - 4sd]
[2016-11-23 11:57:47 - wewe] C:\Users\txxs\workspace\wewe\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-11-23 11:57:47 - wewe]
[2016-11-23 11:57:47 - wewe] C:\Users\txxs\workspace\wewe\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-11-23 11:57:47 - wewe]
[2016-11-23 11:57:47 - wewe] C:\Users\txxs\workspace\wewe\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-11-23 11:57:47 - wewe]
[2016-11-23 11:57:48 - 4sd] C:\Users\txxs\workspace\4sd\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-11-23 11:57:48 - 4sd]
[2016-11-23 11:57:48 - 4sd] C:\Users\txxs\workspace\4sd\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-11-23 11:57:48 - 4sd]
[2016-11-23 11:57:48 - 4sd] C:\Users\txxs\workspace\4sd\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-11-23 11:57:48 - 4sd]
两种方式:
一、看stackoverflow上的这篇文章http://stackoverflow.com/questions/21059612/no-resource-found-that-matches-the-given-name-style-theme-appcompat-light,补充这篇文章http://jingyan.baidu.com/article/3ea51489e04eb852e61bbaa4.html
二、版本太低不兼容问题,http://www.xue163.com/2376/1/23760681.html