CheckBox报错Error inflating class android.widget.CheckBox, Caused by: android.content.res.Resources$No
2017-01-20 19:35
369 查看
CheckBox出错记录
这两天玩CheckBox的时候出现了这个Bug
现象:
编译的时候没有问题,运行的时候程序直接崩溃:
出现下面错误:
...Error inflating class android.widget.CheckBox
...Caused by: android.content.res.Resources$No
仔细一看 系统资源找不到 这神马情况,
查了很多资料 调节版本才知道这是23.2.0版本的bug 改成23.2.1就OK了
这两天玩CheckBox的时候出现了这个Bug
现象:
编译的时候没有问题,运行的时候程序直接崩溃:
出现下面错误:
...Error inflating class android.widget.CheckBox
...Caused by: android.content.res.Resources$No
仔细一看 系统资源找不到 这神马情况,
查了很多资料 调节版本才知道这是23.2.0版本的bug 改成23.2.1就OK了
compile 'com.android.support:appcompat-v7:23.2.1'
相关文章推荐
- CheckBox报错Error inflating class android.widget.CheckBox, Caused by: android.content.res.Resources$No
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- Caused by: android.content.res.Resources$NotFoundException: Resource "com.lvche.lvchedingdang:drawab
- 创建适配器时报:ERROR/AndroidRuntime(1703): Caused by: android.content.res.Resources$NotFoundExcepti
- Caused by: android.content.res.Resources$NotFoundException: String array resource
- Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f070058 android-studio 3.0 from canary 5 to canary 6
- Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or pat
- 【资源NotFoundException美元:# 0 x55字符串资源】Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x55
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x1
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- Caused by: android.content.res.Resources$NotFoundException: File res/drawable/***
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- AndroidRuntime Caused by: android.content.res.Resources$NotFoundException: String resource I解决办法
- android错误之 Caused by: android.content.res.Resources$NotFoundException: File res/anim/snailanim.xml f
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x3
- Caused by: Android.content.res.Resources$NotFoundException: Resource ID #0x7f0c0001
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x**
- Caused by: android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedVa
- android.content.res.Resources$NotFoundException异常处理