0
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, it does not show his ID in Mainactivity, it was working normal before, but now I went to add a new button and no more his ID, It appears in Activitymain, I put a normal ID on it, but when doing findviewById, the ID does not appear. I’m having this problem for the second time, the first time I solved it, but I had to create another project, copy all the code for the other project and then it went back to normal and I was able to add the component, but I didn’t want to have to do it for the second time, I’d like to understand why this is happening.