So I just figured out the dumbest problem ever.
Working on my app again, and trying to create a new project.
First "activity" went fine.
Second activity broke everything.
For some reason it isn't creating the R file.
Google doesn't help. I literally spent a few hours trying to figure this error out.
So I tried recreating a project again.
Tried everything again, same issue.
Then I noticed that my match.xml file isn't being read as an .xml file.
Finally the solution. For some reason, android studio added "match.xml" should be read as a text file.
Working on my app again, and trying to create a new project.
First "activity" went fine.
Second activity broke everything.
For some reason it isn't creating the R file.
Google doesn't help. I literally spent a few hours trying to figure this error out.
So I tried recreating a project again.
Tried everything again, same issue.
Then I noticed that my match.xml file isn't being read as an .xml file.
Finally the solution. For some reason, android studio added "match.xml" should be read as a text file.