After modifying the Android layout file, the compilation appears error parsing Xml:not well-formed (invalid token).
First to troubleshoot the XML file encoding format is UTF-8, <?xml version= "1.0" encoding= "Utf-8"?>, note that copy from elsewhere to pay attention to the encoding format!
If there are any omissions in each label, move the mouse arrow to the wrong layout and click the right mouse button to select source and then choose Format.
There is no problem, the result found fault (line 9th):
1 <TextView2 3 Android:id= "@+id/tetxview1"4 5 Android:layout_width= "Wrap_content"6 7 Android:layout_height= "Wrap_content"8 9 Android:text= ">31"Ten One android:textsize= "@dimen/text_size" A - Android:textcolor= "@color/text_color" - the />
Include ">" or "<" in the value of the control property, it will be an error, it is recommended to assign a value in the code!
Android compilation Error--layout error parsing Xml:not well-formed (invalid token)