页面加载出错,rendering: Could not find layout resource和PorterDuff Color Filters are not supported
来源:互联网 发布:淘宝宝贝发货地址设置 编辑:程序博客网 时间:2024/06/16 13:13
Android Studio 升级到2.2之后出现无法预览
如标题所说,preview时报错为: Exception raised during rendering: Could not find layout resource matching value 0x7F03006A
无法预览出界面:
问题在SO上找到了原因:
I have been getting the same issues since I updated Android Studio. It seems to be affecting only layouts with include tags in them.
标签无法找到
来自 http://stackoverflow.com/questions/37690137/exception-raised-during-rendering-could-not-find-layout-resource-matching-value
解决方法同样在上面的网址上找到了:
If you go to “File > Invalidate Caches/Restart…”, click “Invalidate and Restart”, then wait a minute or two wile AS does its thing it should cause them to show up again.
问题解决!
PS:最近新建项目时选择 empty activity(带悬浮菜单)时,出现 PorterDuff Color Filters are not supported.
错误,也是无法预览,直接白屏。
解决方法是,首先保证SDK是最新的,更新SDK后,用上述方法Invalidate Caches/Restart
重启下AS,就可以了。
- 页面加载出错,rendering: Could not find layout resource和PorterDuff Color Filters are not supported
- 解决Exception raised during rendering: Could not find layout resource matching value...问题
- Could not find resource FancyMapper.xml
- Could not find resource entity/shengMapper.xml
- Could not find com.android.support.constraint:constraint-layout解决方案
- 解决 Error: Could not find compiled resource bundle ' ' for locale ' '.
- Mybatis的小错误--Could not find resource
- RESTEASY报错Could not find resource for full path
- java.io.IOException: Could not find resource SqlMapConfig.xml
- java.io.IOException: Could not find resource SqlMapConfig.xml
- jar出错 could not find the main class
- 安装postgis2.0.1出错configure error: could not find gdal
- could not find class
- Could not find gem
- Could not find/open
- Could not find *.apk!
- could not find hibernateutilbase
- could not find class
- 【poj3764】 The xor-longest Path
- java并发包学习系列:jdk并发容器
- java并发包学习系列:future模式
- 不同的函数定义方式,new出不同的结果
- java并发包学习系列:生产者消费者模式
- 页面加载出错,rendering: Could not find layout resource和PorterDuff Color Filters are not supported
- 要做的事...
- 2016.07.12【初中部 NOIP提高组 】模拟赛C
- [Leetcode]223. Rectangle Area
- 判断服务器资源使用是否合理
- Java之BufferedInputStream详解 源码分析学习笔记
- 使用Java实现的简易“生产者消费者问题”
- nsenter工具进入docker容器
- 使用Spring Boot快速构建应用