[android] No resource found that matches the given name 'Theme.AppCompat.Light'
在整合android过程中导入别人的项目出现下面的错误:
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
通过stackoverflow查到其解决方法,如下:
1.File->Import (android-sdk\extras\android\support\v7). Choose "appcompat"
在"文件"中导入sdk路径extras\android\support\v7中的appcompat文件夹.如下图所示:
问什么会出现这个问题呢?这是我整合“随时拍”项目其他人的代码,他的版本比我的低,新的eclipse默认模版主题UI需要使用比较高版本api,如果需要支持低版本,需要导入appCompact库来支持.希望文章能解决大家的bug.
(By:Eastmount 2014-12-3 晚上10点 http://blog.csdn.net/eastmount/)
参考资料:
stackoverflow答案
http://blog.csdn.net/huiguixian/article/details/41210895
[android] No resource found that matches the given name 'Theme.AppCompat.Light'相关推荐
- Android报错:No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'
报错: test/res/values/styles.xml:4: error: Error retrieving parent for item: No resource found that ma ...
- No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'
解决方法: styles.xml中<style name="AppBaseTheme" parent="Theme.AppCompat.Light"> ...
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
首先这个问题的产生是由于缺少Theme.AppCompat.Light这个主题产生的,而这个主题 的是存在于android\support\appcompat-v7支持库中的,注意不是jar包. No ...
- No resource found that matches the given name 'Theme.AppCompat.Light'.
然后是所有的value文件夹下的styles.xml的 <style name="AppBaseTheme" parent="Theme.AppCompat.Lig ...
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig ...
- 【Android】No resource found that matches the given name 'Theme.Sherlock.Light.NoActionBar'
被这个问题困扰了好久-- 错误如下: error: Error retrieving parent for item: No resource found that matches the given ...
- Android问题集锦之三十七:No resource found 'Theme.AppCompat.Light.DarkActionBar'
AS导入他人的工程会遇到这样那样的问题. 如果他们用的AS版本比较老,那么需要AS会自动下载相对应版本的gradle.这个我在前几篇文中有提过.不过最简单的版本就是直接将gradle的版本改成最新. ...
- Android安卓开发-'Theme.AppCompat.Light'无法找到的解决方案
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom ...
- Android “Theme.AppCompat.Light”解决方法
1.报错 styles.xml中<style name="AppBaseTheme" parent="Theme.AppCompat.Light"> ...
最新文章
- Maven build标签
- pdf一键转曲_新技能:如何利用PDF制作可变数据!
- 国内IT出版社的四大软肋
- 网站建设之前需要先了解目标受众
- Windows核心编程 第三章 内核对象
- java.lang.Long cannot be cast to java.lang.Integer解决办法
- 我在神策做研发 丨 与客户难题“对抗”的百余天
- LeetCode 第 199 场周赛(757/5231,前14.5%)
- 天津科技大学计算机合资办学,天津科技大学计算机科学与信息工程学院介绍
- html5折叠卡片,基于HTML5折叠卡片式下拉菜单代码
- SpringCloud Eureka自我保护机制介绍及配置
- 有没有一百万的电脑配置?
- 易驾佳智能机器人教练_我市首个“机器人教练”上岗 驾校开启人工智能教学新模式...
- python字符串函数_python字符串函数
- 缺少计算机所需的介质程序,win10系统UEFi安装提示“缺少计算机所需的介质驱动程序”的图文方案...
- 华为网络设备-OSPF路由实验
- pygame战棋游戏制作之战棋地图绘制(一)
- 第四回:产品创新性思维方法论
- R语言使用cph函数和rcs函数构建限制性立方样条cox回归模型、检验模型是否满足等比例风险、是否存在非线性关系、使用rms包的Predict函数计算指定连续变量和风险比HR值的关系并可视化
- inno setup使用1 记录一下相关参数
热门文章
- 批处理如何清除文本文档里面的重复行
- ObjectInputStream和ObejctOutputStream
- 8.初探python之集合
- 新浪微博开放平台之OAuth2.0认证
- EF6 CodeFirst+Repository+Ninject+MVC4+EasyUI实践(六)
- [linux]cp和mv对文件和链接影响的区别
- c++随机打乱数组_【洗牌算法】你确定这样的抽奖算法是随机的?
- 7-9 职工排序题 (20 分)
- 7-55 空心字母金字塔 (10 分)
- hadoop mysql 存储过程_hadoop 存储过程