文章链接:https://blog.youkuaiyun.com/weixin_42433094/article/details/113347465
Android 开发时使用testview的setText时候出现了以下报错:
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x3c
原因:
setText()中传入的参数为int类型。
解决办法:
使用String.valueOf ( )将int类型的参数转化为String类型。