How do I resolve the 'missing xml-layout' error in Android?

52 Views Asked by At

Whenever i open a new empty activity this shows up.

enter image description here

I tried syncing with gradle . I also tried invalidating caches.. I rebuild the project many times but still facing this issue.

1

There are 1 best solutions below

0
Md Masud Rana On

Right click on resource folder and create new directory with layout name and put your xml file in it .