Android resource not found exception?

前端 未结 9 672
一生所求
一生所求 2020-11-28 12:11

I am having a strange problem using findViewById(id). It comes back with resource not found even though the resource is definitely there. It is a textview in a layout next t

9条回答
  •  情歌与酒
    2020-11-28 13:01

    Make sure that you aren't really just trying to set the text to a number and expecting it to automatically convert to a string.

提交回复
热议问题