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

在设置textView的text值时,若设为int值,系统可能会自动识别为资源类型,并返回找不到资源错误,此时应设为String值。

猜你喜欢

转载自blog.csdn.net/qq_30019237/article/details/79229662