android.content.res.Resources$NotFoundException:String resource ID #0x86
来源:互联网 发布:网络语铲屎是什么意思 编辑:程序博客网 时间:2024/05/18 21:42
今天跑程序的时候,出现这样的错误:
LogCat显示出错行是:
android.content.res.Resources$NotFoundException:String resource ID #0x86
LogCat显示出错行是:
if (bet.getStatus() != null) {
holder.statusView.setText(bet.getStatus());
}
开始的时候,死活找不出原因。
后来发现错误原因是:
bet.getStatus()返回的是Integer类型,转成String类型,即可,如下:
holder.statusView.setText("" + bet.getStatus());
holder.statusView.setText(bet.getStatus());
}
开始的时候,死活找不出原因。
后来发现错误原因是:
bet.getStatus()返回的是Integer类型,转成String类型,即可,如下:
holder.statusView.setText("" + bet.getStatus());
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- 【解决】android.content.res.Resources$NotFoundException:String resource ID #0x86
- 错误类型:android.content.res.Resources$NotFoundException:String resource ID #0x86
- 异常:android.content.res.Resources$NotFoundException:String resource ID #0x86的问题
- android.content.res.Resources$NotFoundException: String resource ID #0x6d
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x7f050016
- android.content.res.Resources$NotFoundException:String resource ID #0x446
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x42
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- UVA11234- Expressions
- C++ STL 容器 迭代器 算法 [大三四八九月实习]
- forward和redirect的问题(路径问题)
- 仰恩大学CSDN高校俱乐部运营策划
- 机器视觉(相机、镜头、光源)全面概括
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- c/c++位操作简介--移位、位与、位或、异或
- CoreData初识
- 【rzxt】笔者支招:不为人知的TL路由器问题处理
- 组织机构必选备份
- UVA 10602 Editor Nottoobad(贪心)
- 关于移动Web性能的5个神话(转)
- Unity3d 更改鼠标样式
- 几种js实现的动态多文件上传