android.content.res.Resources$NotFoundException:String resource ID #xxxx
来源:互联网 发布:linux 文件内容替换 编辑:程序博客网 时间:2024/05/15 03:22
goods_num.setText(orders.getAmount());
是上面这行报错, 然后我想起这个get方法是返回一个int类型的
上网搜,果然是
解决方法:
goods_num.setText(""+ orders.getAmount());
0 0
- android.content.res.Resources$NotFoundException:String resource ID #xxxx
- android:android.content.res.Resources$NotFoundException: String resource ID #..
- android.content.res.Resources$NotFoundException: String resource ID #0x6d
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- 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 #0x86
- 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
- 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 #0x1
- 浅谈网络编程技术(TCP、UDP、HTTP)
- ViewPager打造轮播图(Banner)\引导页(Guide)
- JS实现继承
- Vue系列: 如何通过组件的属性props设置样式
- java 中Map List 等集合只能存放Integer Long
- android.content.res.Resources$NotFoundException:String resource ID #xxxx
- <戏说春秋>第三关 窃符救赵
- android之JNI开发步骤总结
- 灰度共生GLCM
- 怎么简便地去掉html中难看的文件上传按钮并实现图片预览功能?
- 多进程浏览器框架
- 数据挖掘必看10大常见问题
- 服务器产品结构的1U至7U是什么含义?
- 如何为我们的snap应用取别名alias