1.android报"android.content.res.Resources$NotFoundException: String resource ID #0x11"
原因1:当调用TextView的setText()方法时如果传入int型是不会被当成内容而是resourceID来使用,所以在调用方法时一定要注意传入的参数必须类型匹配。
1.android报"android.content.res.Resources$NotFoundException: String resource ID #0x11"
原因1:当调用TextView的setText()方法时如果传入int型是不会被当成内容而是resourceID来使用,所以在调用方法时一定要注意传入的参数必须类型匹配。