Toast报错 android.content.res.Resources$NotFoundException
2013-09-24 00:04
459 查看
Toast.makeText(getActivity(), String.valueOf(position), Toast.LENGTH_SHORT)
.show();
第二个参数即使不是string也不会报错,运行时就报错了,要转换一下。
.show();
第二个参数即使不是string也不会报错,运行时就报错了,要转换一下。
相关文章推荐
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f解析
- 安卓异常处理android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: Resource ID #0x0,错误
- at android.content.res.Resources$NotFoundException:String resoure ID #0x5
- android.content.res.Resources$NotFoundException: String resource ID #0xc8问题集结
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- 踩坑实录 android.content.res.Resources$NotFoundException: String resource ID #0x0
- Android异常处理之android.content.res.Resources$NotFoundException
- 【错误反思】 android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x3c
- bug android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID XXXX
- Caused by: 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 #0x0 找不到资源文件ID #0x0
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- 【解决】android.content.res.Resources$NotFoundException:String resource ID #0x86
- android.content.res.Resources NotFoundException解决 Resource ID #0x7