android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
来源:互联网 发布:网络吞吐量怎么计算 编辑:程序博客网 时间:2024/05/12 22:10
原因分析如下:
遇到这种情况,很有可能是把一个int型业务数据的 设置setText()或者类似的方法中, 这样Android系统就会主动去资源文件当中寻找, 但是它不是一个资源文件ID, 所以就会报出这个bug。 将int型业务数据,转换成String类型即可。
- 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
- android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
- 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 #0x0
- 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 #0x0
- # 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 #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: Resource ID #0x0,错误
- android.content.res.Resources$NotFoundException: Resource ID #0x0
- android.content.res.Resources$NotFoundException: Resource ID #0x0
- Android报Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0 .解决办法
- 字符串1包含几个字符串2
- struts2中生成验证码
- XCODE中为单独的文件设置不支持ARC的方法
- pb中的int
- The user operation is waiting for "Building workspace" to complete--Android开发经验
- android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
- linux下使用JDBC需要安装驱动jar包
- 数据库的导出和导入语句
- 插入排序
- 【C#】串口操作实用类
- find main quickly
- 寒假开会问题之IT意识
- 孩子们的科普读物
- ajax.net调用session和cookie