Can not find a View with findViewById()

前端 未结 4 1762
执笔经年
执笔经年 2020-11-22 12:19

I cannot find a TextView by calling findViewById(), even though the ID does exist.

OtherActivity:

public class         


        
4条回答
  •  眼角桃花
    2020-11-22 13:07

    I actually just had this problem it was caused by now having build automatically checked. Just either build your project manually or click build automatically and that should solve your problem!

提交回复
热议问题