码迷,mamicode.com
首页 > 移动开发 > 详细

error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

时间:2015-10-31 17:02:04      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:

导入项目时style.xml里报这个错,网上查说是因为这个项目要依赖项目android-support-v7-appcompat(导入方法是:在sdk目录下extras\android\support\v7这个下面的项目appcompat导入)。

但是在导入这个项目后发现,项目本身就打了个红叉。再查,发现是这个项目本身就要求的系统高,结果一直改到6.0(版本号是23)时才去掉了红叉。(换了后要先clear下才能看到)。

error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

标签:

原文地址:http://www.cnblogs.com/hanyuchuqing/p/4925756.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!