AndroidRuntime Caused by: android.content.res.Resources$NotFoundException: String resource I解决办法

通常发生在参数 int resId 错误,你把int赋值给String的形参,因此编译器找不到正确的resource因而报错get   分析:给button设置数字文本表示点赞的个数,没有把int转string.    源码是 :hotdt_zan_btn.setText(mHotTopicBean.getFabulousnum()     正确作法:hotdt_zan_btn.setText(m
相关文章
相关标签/搜索