android.content.res.Resources$NotFoundException: String resource ID #0x1

在Android开发中若是出现android.content.res.Resources$NotFoundException: String resource ID #0x1这样的错误,你想也不用想,必定是Textview控件显示数据出了问题:mTextview.setText(这里的传入的数据必定写成int类型了)。咱们须要作的是eg:mTextview.setText(1+""),也就是参数转
相关文章
相关标签/搜索