


To undo, simply use the key combination: Ctrl+Z. If that is the case, you can try to undo your recent change to the XML files. Meaning that it was a recent change to one of your XML files that caused the issue. Undo: Most times, you are already halfway through a project before you experience this issue.If you have a lot of XML files and it would be just too difficult to go through them one after the other, you could use the following tips to make the process easier: Other times like when you are using an older version of Android Studio, the error would not be this specific. You might be lucky and Android Studio will point you in the exact direction as shown in the screenshot below: This could sometimes be time-consuming but be rest assured that the error will disappear as soon as you find and fix the problem child (problem XML). The solution to the error is obvious, right? All you have to do is go through each of your XML files to figure out where the error might be.
