android.content.res.Resources$NotFoundException: String resource ID #0xb
2014-12-08 20:29
302 查看
错误情景:
错在把TextView的
setText(int resid) //跑到工程下去找一个对应的resource的id
和
setText(CharSequence text)
方法混淆。
解决方法:在int后面加上""就可以了。
holder.comment.setText(mlist.get(position).getCommentCount());
错在把TextView的
setText(int resid) //跑到工程下去找一个对应的resource的id
和
setText(CharSequence text)
方法混淆。
解决方法:在int后面加上""就可以了。
相关文章推荐
- android.content.res.Resources$NotFoundException 异常处理
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x6错误的解决办法
- android.content.res.Resources$NotFoundException: String resource ID #0x7f050016
- android.content.res.Resources$NotFoundException: Resource ID解决办法
- android.content.res.Resources$NotFoundException: Resource ID #0x7f030010
- android.content.res.Resources$NotFoundException异常处理
- 解决android.content.res.Resources NotFoundException的一个方法
- 解决android.content.res.Resources NotFoundException的一个方法
- Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f0
- android.content.res.Resources$NotFoundException: String resource ID #0x8错误
- android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedVa
- Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- 关于Android中android.content.res.Resources$NotFoundException: String resource ID #0x9这类问题的解决
- android.content.res.Resources$NotFoundException
- android.content.res.Resources$NotFoundException解决方案
- android.content.res.Resources$NotFoundException: String resource ID #0x6d
- android.content.res.Resources$NotFoundException错误的解决办法
- android.content.res.Resources NotFoundException