The problem is this: I add a component in my ActivityMain, a button for example, but when I go to do the findviewById (ID) of the component, its ID does not appear in MainActivity, it was working normal before, add a new button and its ID no longer appears, it appears in ActivityMain, I put an ID on it normal, but at the time of doing findviewById, the ID does not appear. I'm having this problem for the second, the first time I solved it, but I had to create another project, copy all the code to another project and then it was back to normal and I was able to add the component, but I did not want to have to do it for the second time, to understand why this is happening