android.content.res.Resources$NotFoundException
来源:互联网 发布:网络充钱的棋牌 编辑:程序博客网 时间:2024/05/29 02:28
android.content.res.Resources$NotFoundException:String resource ID #0x86
今天跑程序的时候,出现这样的错误:
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
- android.content.res.Resources NotFoundException
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException:
- android.content.res.Resources$NotFoundException:
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException:
- android.content.res.Resources$NotFoundException
- 【Android策略】android.content.res.Resources$NotFoundException
- Android错误android.content.res.Resources$NotFoundException:
- android错误android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException 异常处理
- android.content.res.Resources$NotFoundException解决方案
- SQL SERVER 怎样清空表的数据
- 用ajax传递单个或者数组对象给struts
- 最酷的windows后门 呵呵
- STM32 PWM底层驱动
- hdu-Lowest Common Multiple Plus
- android.content.res.Resources$NotFoundException
- 合理的设置关键词的密度稳定网站排名
- 通过init.rc中的property实现动态控制service的开启与关闭
- Redis学习手册(事务)
- ActiveMQ使用笔记
- HDU 2052 Picture
- 另外一些不是常见的外链方法
- 使用sql分页显示
- 走迷宫