Skip to content
Advertisement

AAPT: error: not well-formed (invalid token)

I am working on an application, with following XML. This the XML of my Sign In Fragment. But when I try to clean/build my project the following error occurs:

error: Error parsing XML: not well-formed (invalid token)

JavaScript

What does it possibly mean? what i have done wrong? I’m really worried about this. i have go through my code many time but didn’t find the error

Advertisement

Answer

The second-to-last line of your file has

JavaScript

which causes your XML file to be not well-formed. Change it to

JavaScript

to properly close a previous opening tag of the same name.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement