android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
2012-01-27 10:42
901 查看
原因分析如下:
遇到这种情况,很有可能是把一个int型业务数据的 设置setText()或者类似的方法中, 这样Android系统就会主动去资源文件当中寻找, 但是它不是一个资源文件ID, 所以就会报出这个bug。 将int型业务数据,转换成String类型即可。
相关文章推荐
- android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
- Android 的坑一 :android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- Android报Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0 .解决办法
- Android报Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0 .解决办法
- 【已解决】android.content.res.Resources$NotFoundException: String resource ID
- Android报android.content.res.Resources$NotFoundException: String resource ID xxx 错误
- android.content.res.Resources$NotFoundException:Resource ID #0x7f080004 type #0x12 is not valid问题解决
- 踩坑实录 android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID异常总结
- android.content.res.Resources$NotFoundException:String resource ID #xxxx
- android.content.res.Resources$NotFoundException: String resource ID XXXX
- android.content.res.Resources$NotFoundException: String resource ID #0x4 报找不到资源id情况
- Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f070058 android-studio 3.0 from canary 5 to canary 6
- android初学之android.content.res.Resources$NotFoundException: String resource ID #0x3e8异常
- android.content.res.Resources$NotFoundException: Resource ID #0x0,错误
- android:android.content.res.Resources$NotFoundException: String resource ID #..
- 异常记录之android.content.res.Resources$NotFoundException: String resource ID