0

When I have an layout test.xml file open and click on Run Android creates an empty test.out.xml file and creates an "Unparsed appt error".

Even when I delete the newly created file the "Unparsed appt error" doesn't disappear. What happens here? How can I fix the error? Is there a way to prevent this from happen when I accidentally click on run while in a .xml file instead of being in a .java file?

1 Answer 1

5

If you run Project/Clean, the error will go away.

Regarding preventing this from happening, you have to change the build action for XML. I have not spent the time figuring out how to do that, but since this is such an annoying thing, I'd be glad if someone could post the steps.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.